Added
This commit is contained in:
@@ -31,12 +31,12 @@ services:
|
||||
networks:
|
||||
- jupyterhub-network
|
||||
|
||||
nginx:
|
||||
container_name: ${COMPOSE_PROJECT_NAME}-nginx
|
||||
ports:
|
||||
- ${NGINX_HTTP_PORT:-80}:80
|
||||
- ${NGINX_HTTPS_PORT:-443}:443
|
||||
networks:
|
||||
- jupyterhub-network
|
||||
depends_on:
|
||||
- jupyterhub
|
||||
# nginx:
|
||||
#container_name: ${COMPOSE_PROJECT_NAME}-nginx
|
||||
#ports:
|
||||
#- ${NGINX_HTTP_PORT:-80}:80
|
||||
#- ${NGINX_HTTPS_PORT:-443}:443
|
||||
#networks:
|
||||
#- jupyterhub-network
|
||||
#depends_on:
|
||||
#- jupyterhub
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
include:
|
||||
- jupyterhub/compose.yml
|
||||
- postgres/compose.yml
|
||||
- nginx/compose.yml
|
||||
# - nginx/compose.yml
|
||||
|
||||
networks:
|
||||
jupyterhub-network:
|
||||
|
||||
@@ -89,7 +89,7 @@ c.JupyterHub.spawner_class = DockerSpawner
|
||||
c.DockerSpawner.image = os.environ.get("NOTEBOOK_IMAGE", "jupyter/base-notebook:latest")
|
||||
|
||||
# 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
|
||||
network_name = os.environ.get("DOCKER_NETWORK_NAME", "stack_default")
|
||||
|
||||
Reference in New Issue
Block a user