volumes now mounted with correct permissions
This commit is contained in:
parent
312ed0188e
commit
5b0d688437
@ -34,6 +34,7 @@ services:
|
|||||||
- "/var/run/docker.sock:/var/run/docker.sock:rw"
|
- "/var/run/docker.sock:/var/run/docker.sock:rw"
|
||||||
# Bind Docker volume on host for JupyterHub database and cookie secrets
|
# Bind Docker volume on host for JupyterHub database and cookie secrets
|
||||||
- "data:${DATA_VOLUME_CONTAINER}"
|
- "data:${DATA_VOLUME_CONTAINER}"
|
||||||
|
- "./jupyterhub_config.py:/srv/jupyterhub/jupyterhub_config.py"
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
links:
|
links:
|
||||||
|
@ -38,7 +38,7 @@ c.DockerSpawner.notebook_dir = notebook_dir
|
|||||||
|
|
||||||
# c.DockerSpawner.volumes = { 'jupyterhub-user-{username}': notebook_dir }
|
# c.DockerSpawner.volumes = { 'jupyterhub-user-{username}': notebook_dir }
|
||||||
c.DockerSpawner.volumes = { 'jupyterhub-user-{username}': notebook_dir, # this connects volumes
|
c.DockerSpawner.volumes = { 'jupyterhub-user-{username}': notebook_dir, # this connects volumes
|
||||||
'/home/michael/repos/packages/lyricalart':'/home/jovyan/work/shared' }
|
'/home/michael/repos/packages':'/home/jovyan/work/shared' }
|
||||||
|
|
||||||
# volume_driver is no longer a keyword argument to create_container()
|
# volume_driver is no longer a keyword argument to create_container()
|
||||||
# c.DockerSpawner.extra_create_kwargs.update({ 'volume_driver': 'local' })
|
# c.DockerSpawner.extra_create_kwargs.update({ 'volume_driver': 'local' })
|
||||||
|
Loading…
Reference in New Issue
Block a user