Skip to content

Commit a338e39

Browse files
committed
update
1 parent 42febe2 commit a338e39

2 files changed

Lines changed: 30 additions & 1 deletion

File tree

.docker/jupyterhub_config.py

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
"""sample jupyterhub config file for testing
2+
3+
configures jupyterhub with dummyauthenticator and simplespawner
4+
to enable testing without administrative privileges.
5+
"""
6+
7+
c = get_config() # noqa
8+
9+
c.JupyterHub.authenticator_class = "dummy"
10+
11+
# Optionally set a global password that all users must use
12+
#c.DummyAuthenticator.password = "your_password"
13+
14+
c.JupyterHub.spawner_class = "simple"
15+
16+
# only listen on localhost for testing
17+
c.JupyterHub.bind_url = 'http://127.0.0.1:8000'
18+
19+
# don't cache static files
20+
c.JupyterHub.tornado_settings = {
21+
"no_cache_static": True,
22+
"slow_spawn_timeout": 0,
23+
}
24+
25+
c.JupyterHub.allow_named_servers = True
26+
c.JupyterHub.default_url = "/hub/home"
27+
28+
# make sure admin UI is available and any user can login
29+
c.Authenticator.admin_users = {"admin"}
30+
c.Authenticator.allow_all = True

.github/workflows/docker-image.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)