This is an automated email from the ASF dual-hosted git repository.
lahirujayathilake pushed a commit to branch agent-framewok-refactoring
in repository https://gitbox.apache.org/repos/asf/airavata.git
The following commit(s) were added to refs/heads/agent-framewok-refactoring by
this push:
new 7fb055d078 dynamic data mounts for different cs images
7fb055d078 is described below
commit 7fb055d078077492ec951a63f03a1948262b9d49
Author: lahiruj <[email protected]>
AuthorDate: Fri Mar 21 07:59:03 2025 -0400
dynamic data mounts for different cs images
---
dev-tools/deployment/jupyterhub/multi-server-jupyterhub_config.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dev-tools/deployment/jupyterhub/multi-server-jupyterhub_config.py
b/dev-tools/deployment/jupyterhub/multi-server-jupyterhub_config.py
index 87de4d30fe..f112eab420 100644
--- a/dev-tools/deployment/jupyterhub/multi-server-jupyterhub_config.py
+++ b/dev-tools/deployment/jupyterhub/multi-server-jupyterhub_config.py
@@ -66,7 +66,7 @@ class CustomDockerSpawner(DockerSpawner):
# Overwrite self.volumes each time, so DockerSpawner creates/attaches
them
self.volumes = {
f"jupyterhub-vol-{safe_user}-{safe_srv}-{safe_img}":
"/home/jovyan/work",
- "/home/ubuntu/jupyterhub/mnt/shared_data": {
+ f"/home/ubuntu/jupyterhub/mnt/shared_data_{safe_img}": {
"bind": "/home/jovyan/shared_data_tmp",
"mode": "ro"
},
@@ -94,6 +94,7 @@ c.DockerSpawner.network_name =
os.getenv('DOCKER_NETWORK_NAME', 'jupyterhub_netw
c.JupyterHub.hub_ip = '0.0.0.0'
c.JupyterHub.hub_port = 8081
c.JupyterHub.hub_connect_ip = 'jupyterhub'
+c.JupyterHub.shutdown_on_logout = True
# External URL
c.JupyterHub.external_url = 'https://hub.cybershuttle.org'