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

View File

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

View File

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