Sign inSign up

slipos/console

By slipos

Updated almost 3 years ago

Image
0

1.5K

slipos/console repository overview

console container image

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.

  • Register a new user account.
  • Log in.
  • Link the console with a provider such as www.homeland-social.com.
  • Configure an endpoint to expose a website.

The console will then maintain an SSH tunnel to receive your website traffic and deliver it to your chosen container & port.

Using this image

$ docker -ti homelandsocial/console
Example docker-compose

https://raw.githubusercontent.com/homeland-social/console/master/docker-compose.yml

Environment variables

NameDescriptionDefault
FLASK_WPA_SOCKET_PATHNot currently used
FLASK_NDS_SOCKET_PATHNot currently used
FLASK_DOCKER_SOCKET_PATHDocker socket path/var/run/sockets/docker.sock
FLASK_LOG_LEVELLogging levelDEBUG
FLASK_DEBUGFlask debugging; true or falsefalse
FLASK_HOSTBind to address0.0.0.0
FLASK_PORTBind to port, port to expose8000
FLASK_DB_PATHPath where sqlite database is stored/var/lib/console/db.sqlite3
FLASK_UUID_PATHPath where console stores it's id/var/lib/console/console.uuid
FLASK_CACHE_TYPECache driverflask_caching.contrib.uwsgicache.UWSGICache
FLASK_SHANTY_OAUTH_CONFIG_URLURL of provider configurationhttps://www.homeland-social.com/api/oauth/config.json
FLASK_SHANTY_BASE_URLURL of providerhttps://www.homeland-social.com/
CERT_DIRNot currently used/var/lib/certs
SSH_HOSTSSH host addressssh.homeland-social.com
SSH_PORTSSH port2222
SSH_KEY_FILESSH client key path/var/lib/console/client.key
SSH_HOST_KEYS_FILESSH host key path (fetched automatically)/var/lib/console/authorized_keys
COMPOSE_PATHpath to docker-compose.yml/app/docker-compose.yml

Volumes

PathPurpose
/var/run/sockets/docker.sockAllows console to list available containers, path should match FLASK_DOCKER_SOCKET_PATH config variable
/var/lib/console/Data storage path

Tag summary

Content type

Image

Digest

sha256:91f45780f

Size

64.7 MB

Last updated

almost 3 years ago

docker pull slipos/console