mirror of
https://github.com/stellarshenson/stellars-jupyterhub-ds.git
synced 2026-03-07 21:50:28 +00:00
updated with the fix to the shared volume
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user