Last active
May 10, 2020 08:12
-
-
Save danlester/4a0ad6c52719679142a290d303faa3db to your computer and use it in GitHub Desktop.
Config to add DockerSpawner to TLJH
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
c.JupyterHub.spawner_class = 'dockerspawner.DockerSpawner' | |
c.DockerSpawner.image = 'ideonate/jh-voila-oauth-singleuser:latest' | |
from jupyter_client.localinterfaces import public_ips | |
c.JupyterHub.hub_ip = public_ips()[0] | |
c.DockerSpawner.name_template = "{prefix}-{username}-{servername}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment