Skip to content
Snippets Groups Projects
Commit 0d317486 authored by ale's avatar ale
Browse files

Add a shared volume for Jupyterhub users

parent ec0a2e79
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,10 @@
c.DockerSpawner.notebook_dir = '/home/jovyan/work'
# This creates a volume for each user to store their notebooks. As an alternative,
# we could bind-mount local filesystem paths (but something must create them first).
c.DockerSpawner.volumes = {'jupyterhub-user-{username}': '/home/jovyan/work'}
c.DockerSpawner.volumes = {
'jupyterhub-user-{username}': '/home/jovyan/work'
'jupyterhub-shared': '/home/jovyan/work/shared'
}
c.DockerSpawner.network_name = 'jupyter'
c.DockerSpawner.image = 'registry.git.autistici.org/ula/images/jupyter-notebook:main'
c.DockerSpawner.remove = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment