This commit is contained in:
2025-11-06 20:58:45 +01:00
parent fcf06ebe1a
commit 85c14a1b33
3 changed files with 11 additions and 11 deletions

View File

@@ -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

View File

@@ -1,7 +1,7 @@
include:
- jupyterhub/compose.yml
- postgres/compose.yml
- nginx/compose.yml
# - nginx/compose.yml
networks:
jupyterhub-network:

View File

@@ -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")