-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #261 from minrk/redis-link
add missing example redis config
- Loading branch information
Showing
4 changed files
with
21 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
"""sample jupyterhub config file for testing | ||
configures jupyterhub to run with traefik and redis. | ||
configures jupyterhub with dummyauthenticator and simplespawner | ||
to enable testing without administrative privileges. | ||
""" | ||
|
||
c = get_config() # noqa | ||
|
||
c.JupyterHub.proxy_class = "traefik_redis" | ||
c.TraefikProxy.traefik_api_username = "admin" | ||
c.TraefikProxy.traefik_api_password = "admin" | ||
|
||
# use dummy and simple auth/spawner for testing | ||
c.JupyterHub.authenticator_class = "dummy" | ||
c.JupyterHub.spawner_class = "simple" | ||
c.JupyterHub.ip = "127.0.0.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters