From a68810e7ec0d457791da2ea72ada7593ae33c186 Mon Sep 17 00:00:00 2001 From: stellarshenson Date: Fri, 18 Jul 2025 19:26:13 +0200 Subject: [PATCH] updated with more examples: volume, GPU, custom config --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index 06ba358..d443fee 100755 --- a/README.md +++ b/README.md @@ -56,3 +56,25 @@ services: environment: - GPU_SUPPORT_ENABLED=1 # enable NVIDIA GPU ``` + +#### Enable shared CIFS mount +```yaml + jupyterhub: + volumes: + - ./config/jupyterhub_config_override.py:/srv/jupyterhub/jupyterhub_config.py:ro # config file (read only) + - jupyterhub_shared_nas:/mnt/shared # cifs share + +volumes: + # remote drive for large datasets + jupyterhub_shared_nas: + driver: local + name: jupyterhub_shared_nas + driver_opts: + type: cifs + device: //nas_ip_or_dns_name/data + o: username=xxxx,password=yyyy,uid=1000,gid=1000 +``` + +in the config file you will refer to this volume by its name `jupyterhub_shared_nas` + +