diff --git a/jupyterhub_config.py b/jupyterhub_config.py index b0c7e78b70fcaa9ab479985853bf5a6c1d3513d2..8684e8fffe58a3220e5ce8901e15f649e69099ce 100644 --- a/jupyterhub_config.py +++ b/jupyterhub_config.py @@ -1140,6 +1140,10 @@ c.DockerSpawner.notebook_dir = notebook_dir # notebook directory in the container c.DockerSpawner.volumes = {"/cache/jupyterhub/users/{username}": notebook_dir} +c.SwarmSpawner.environment = { + 'NB_UID': 8983 +} + # Remove containers once they are stopped c.DockerSpawner.remove = False