This commit is contained in:
stellarshenson
2025-07-16 06:44:27 +02:00
parent 1471f659f6
commit 77c65c2ab4
2 changed files with 1 additions and 3 deletions

View File

@@ -52,9 +52,6 @@ services:
- jupyterhub_data:/data
# this is where certificates will be generated
- jupyterhub_certs:/mnt/certs
ports:
- 8000:8000
- 8001:8001
environment:
- JUPYTERHUB_ADMIN=admin # this username will be a JupyterHub admin
- DOCKER_NETWORK_NAME=jupyterhub-network # spawned containers will join this network

View File

@@ -16,6 +16,7 @@ c = get_config()
# Spawn single-user servers as Docker containers
c.JupyterHub.spawner_class = "dockerspawner.DockerSpawner"
# Environment variables for MLflow integration
c.DockerSpawner.environment = {
'JUPYTERLAB_STARTUP_MODE': 'jupyterhub'