Finished: Now its a Personal Project
This commit is contained in:
@@ -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"],
|
||||
}
|
||||
]
|
||||
|
Reference in New Issue
Block a user