Finished: Now its a Personal Project

This commit is contained in:
2025-09-16 16:03:19 +02:00
parent a425023b2e
commit cf4291738e
6 changed files with 0 additions and 115 deletions

View File

@@ -156,38 +156,3 @@ c.JupyterHub.concurrent_spawn_limit = 10
# Allow named servers
c.JupyterHub.allow_named_servers = True
c.JupyterHub.named_server_limit_per_user = 3
# ngshare service configuration
c.JupyterHub.services.append(
{
"name": "ngshare",
"url": "http://127.0.0.1:10101",
"command": [
"python3",
"-m",
"ngshare",
"--admins",
"admin",
"--debug" if ds_debug else "",
],
"environment": {
"JUPYTERHUB_SERVICE_URL": "http://127.0.0.1:10101",
"JUPYTERHUB_SERVICE_REDIRECT_URL": f"{base_url}services/ngshare/",
"JUPYTERHUB_BASE_URL": base_url,
},
}
)
# Additional ngshare configuration
c.JupyterHub.load_roles = [
{
"name": "ngshare",
"scopes": [
"admin:servers",
"access:services",
"list:users",
"read:users:activity",
],
"services": ["ngshare"],
}
]