feat: jupyterhub updates

- always pull containers when starting new instance
- enable access to terminal
This commit is contained in:
Ben Vincent 2024-11-16 19:54:19 +11:00
parent 42ad972697
commit 92a9655a50

View File

@ -9,6 +9,7 @@ c = get_config()
c.JupyterHub.bind_url = 'http://:8000'
c.JupyterHub.hub_ip = '0.0.0.0'
c.JupyterHub.hub_port = 8081
c.NotebookApp.enable_terminals = True
# Configure the DockerSpawner
c.JupyterHub.spawner_class = DockerSpawner
@ -26,6 +27,7 @@ c.DockerSpawner.volumes = {
# DockerSpawner options
c.DockerSpawner.remove = True
c.DockerSpawner.debug = True
c.DockerSpawner.pull_policy = "always"
# LDAP Authentication
c.JupyterHub.authenticator_class = 'ldapauthenticator.LDAPAuthenticator'