Added: Changed DockerSpawner

This commit is contained in:
2025-09-15 15:31:53 +02:00
parent 990cc84c5f
commit 8d9291d312
2 changed files with 28 additions and 56 deletions

View File

@@ -1,6 +1,3 @@
# THIS IS AN EXAMPLE
# CHANGE IT IN PRODUCTION
# Postgres Setup
POSTGRES_DB=jupyter
POSTGRES_USER=jupyter
@@ -18,8 +15,11 @@ SPAWNER_DEFAULT_URL=/lab
NOTEBOOK_MEMORY_LIMIT=500M
NOTEBOOK_CPU_LIMIT=1.0
HUB_IP=jupyterhub # Name of the Docker container
DOCKER_NOTEBOOK_DIR=/home/jovyan/work
DOCKER_SPAWNER_DEBUG=0 # Set to non Zero to enable
# Docker
COMPOSE_PROJECT_NAME=ifn_stack
DOCKER_NETWORK_NAME=jupyter_network
POSTGRES_PORT=5432
JUPYTERHUB_PORT=8000