Added
This commit is contained in:
@@ -31,12 +31,12 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- jupyterhub-network
|
- jupyterhub-network
|
||||||
|
|
||||||
nginx:
|
# nginx:
|
||||||
container_name: ${COMPOSE_PROJECT_NAME}-nginx
|
#container_name: ${COMPOSE_PROJECT_NAME}-nginx
|
||||||
ports:
|
#ports:
|
||||||
- ${NGINX_HTTP_PORT:-80}:80
|
#- ${NGINX_HTTP_PORT:-80}:80
|
||||||
- ${NGINX_HTTPS_PORT:-443}:443
|
#- ${NGINX_HTTPS_PORT:-443}:443
|
||||||
networks:
|
#networks:
|
||||||
- jupyterhub-network
|
#- jupyterhub-network
|
||||||
depends_on:
|
#depends_on:
|
||||||
- jupyterhub
|
#- jupyterhub
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
include:
|
include:
|
||||||
- jupyterhub/compose.yml
|
- jupyterhub/compose.yml
|
||||||
- postgres/compose.yml
|
- postgres/compose.yml
|
||||||
- nginx/compose.yml
|
# - nginx/compose.yml
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
jupyterhub-network:
|
jupyterhub-network:
|
||||||
|
|||||||
@@ -89,7 +89,7 @@ c.JupyterHub.spawner_class = DockerSpawner
|
|||||||
c.DockerSpawner.image = os.environ.get("NOTEBOOK_IMAGE", "jupyter/base-notebook:latest")
|
c.DockerSpawner.image = os.environ.get("NOTEBOOK_IMAGE", "jupyter/base-notebook:latest")
|
||||||
|
|
||||||
# Spawn this "version" of the Notebook
|
# Spawn this "version" of the Notebook
|
||||||
c.DockerSpawner.default_url = os.environ.get("SPAWNER_DEFAULT_URL", "/tree")
|
c.DockerSpawner.default_url = os.environ.get("SPAWNER_DEFAULT_URL", "/lab")
|
||||||
|
|
||||||
# Connect Containers to this network
|
# Connect Containers to this network
|
||||||
network_name = os.environ.get("DOCKER_NETWORK_NAME", "stack_default")
|
network_name = os.environ.get("DOCKER_NETWORK_NAME", "stack_default")
|
||||||
|
|||||||
Reference in New Issue
Block a user