version: '3' services: jupyterhub: build: jupyterhub container_name: jupyterhub volumes: - "/var/run/docker.sock:/var/run/docker.sock" - jupyterhub_data:/srv/jupyterhub environment: - VIRTUAL_HOST=jupyter.floop.org.uk - VIRTUAL_PORT=8000 - LETSENCRYPT_HOST=jupyter.floop.org.uk - LETSENCRYPT_EMAIL=alex@floop.org.uk - DOCKER_JUPYTER_IMAGE=cloudfluff/gssnotebook - DOCKER_NETWORK_NAME=${COMPOSE_PROJECT_NAME}_default - HUB_IP=jupyterhub - OAUTH_CALLBACK_URL - OAUTH_CLIENT_ID - OAUTH_CLIENT_SECRET networks: - cloudfluff_proxy - default restart: always gssnotebook: build: gssnotebook image: cloudfluff/gssnotebook command: echo networks: - default volumes: jupyterhub_data: networks: cloudfluff_proxy: external: true