diff --git a/compose.yml b/compose.yml index 10d2614..27a226e 100755 --- a/compose.yml +++ b/compose.yml @@ -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 diff --git a/conf/jupyterhub_config.py b/conf/jupyterhub_config.py index 5e4c000..765d912 100755 --- a/conf/jupyterhub_config.py +++ b/conf/jupyterhub_config.py @@ -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'