updated with the fix to the shared volume

This commit is contained in:
stellarshenson
2025-08-07 21:05:44 +02:00
parent 800c259bee
commit fd3e591aab
2 changed files with 4 additions and 2 deletions

View File

@@ -53,6 +53,7 @@ services:
- /var/run/docker.sock:/var/run/docker.sock:rw # docker socket to use spawner
- jupyterhub_data:/data # database and cookie secrets
- jupyterhub_certs:/mnt/certs # SSL certificates
- jupyterhub_shared:/mnt/shared # shared volume across environments
- /var/run/docker.sock:/var/run/docker.sock:ro # for nvidia autodetection
environment:
- JUPYTERHUB_ADMIN=admin # this username will be a JupyterHub admin
@@ -106,10 +107,11 @@ services:
restart: unless-stopped
privileged: true
volumes:
jupyterhub_data:
jupyterhub_certs:
jupyterhub_shared:
name: jupyterhub_shared
networks:
jupyterhub-network:

View File

@@ -88,7 +88,7 @@ c.DockerSpawner.volumes = {
"jupyterlab-{username}_home": "/home",
"jupyterlab-{username}_workspace": DOCKER_NOTEBOOK_DIR,
"jupyterlab-{username}_cache": "/home/lab/.cache",
"jupyterlab_shared": "/mnt/shared"
"jupyterhub_shared": "/mnt/shared" # shared drive across hub
}
# Ensure containers can accept proxy connections