From 7f2d26ff122b8e7efb54baf4453491d273af30eb Mon Sep 17 00:00:00 2001
From: Jonas Waeber <jonas.waeber@unibas.ch>
Date: Mon, 24 Feb 2025 09:17:14 +0100
Subject: [PATCH] update volume

---
 jupyterhub_config.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/jupyterhub_config.py b/jupyterhub_config.py
index a82e611..b0c7e78 100644
--- a/jupyterhub_config.py
+++ b/jupyterhub_config.py
@@ -1138,7 +1138,7 @@ c.DockerSpawner.notebook_dir = notebook_dir
 
 # Mount the real user's Docker volume on the host to the notebook user's
 # notebook directory in the container
-c.DockerSpawner.volumes = {"jupyterhub-user-{username}": notebook_dir}
+c.DockerSpawner.volumes = {"/cache/jupyterhub/users/{username}": notebook_dir}
 
 # Remove containers once they are stopped
 c.DockerSpawner.remove = False
-- 
GitLab