This image provides a uWSGI server that serves a Flask / Python API as well as a vue.js frontend. All static files are also served by uWSGI. This container will allow you to set up a site by following these steps.
The console will then maintain an SSH tunnel to receive your website traffic and deliver it to your chosen container & port.
$ docker -ti homelandsocial/console
https://raw.githubusercontent.com/homeland-social/console/master/docker-compose.yml
| Name | Description | Default |
|---|---|---|
FLASK_WPA_SOCKET_PATH | Not currently used | |
FLASK_NDS_SOCKET_PATH | Not currently used | |
FLASK_DOCKER_SOCKET_PATH | Docker socket path | /var/run/sockets/docker.sock |
FLASK_LOG_LEVEL | Logging level | DEBUG |
FLASK_DEBUG | Flask debugging; true or false | false |
FLASK_HOST | Bind to address | 0.0.0.0 |
FLASK_PORT | Bind to port, port to expose | 8000 |
FLASK_DB_PATH | Path where sqlite database is stored | /var/lib/console/db.sqlite3 |
FLASK_UUID_PATH | Path where console stores it's id | /var/lib/console/console.uuid |
FLASK_CACHE_TYPE | Cache driver | flask_caching.contrib.uwsgicache.UWSGICache |
FLASK_SHANTY_OAUTH_CONFIG_URL | URL of provider configuration | https://www.homeland-social.com/api/oauth/config.json |
FLASK_SHANTY_BASE_URL | URL of provider | https://www.homeland-social.com/ |
CERT_DIR | Not currently used | /var/lib/certs |
SSH_HOST | SSH host address | ssh.homeland-social.com |
SSH_PORT | SSH port | 2222 |
SSH_KEY_FILE | SSH client key path | /var/lib/console/client.key |
SSH_HOST_KEYS_FILE | SSH host key path (fetched automatically) | /var/lib/console/authorized_keys |
COMPOSE_PATH | path to docker-compose.yml | /app/docker-compose.yml |
| Path | Purpose |
|---|---|
/var/run/sockets/docker.sock | Allows console to list available containers, path should match FLASK_DOCKER_SOCKET_PATH config variable |
/var/lib/console/ | Data storage path |
Content type
Image
Digest
sha256:91f45780f…
Size
64.7 MB
Last updated
almost 3 years ago
docker pull slipos/console