bug des volumes utilisateurs

This commit is contained in:
Eric Coissac
2025-11-05 17:29:12 +01:00
parent 0eae496a94
commit 78156a8c95
7 changed files with 209 additions and 19 deletions

View File

@@ -13,8 +13,8 @@ services:
- /var/run/docker.sock:/var/run/docker.sock
# JupyterHub database persistence
- data:/srv/jupyterhub
# The Jupyter user volumes
- users:/volumes
# Mount the parent volumes directory to access users/, shared/, course/
- ../jupyterhub_volumes:/volumes
# Mount config file directly (for easy modifications)
- ./jupyterhub_config.py:/srv/jupyterhub/jupyterhub_config.py:ro
networks:
@@ -27,6 +27,8 @@ services:
JUPYTERHUB_ADMIN_PASSWORD: admin2025
# Optional environment variables
DOCKER_NOTEBOOK_DIR: /home/jovyan/work
# Use PWD to get absolute path relative to docker-compose.yml location
HOST_VOLUMES_PATH: ${PWD}/../jupyterhub_volumes
# ---------- Nginx ----------