Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Config to add DockerSpawner to TLJH
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