From 2dd259bb7d498122a7b4309a7afedf5360418d3f Mon Sep 17 00:00:00 2001 From: sebranchett Date: Tue, 17 Oct 2023 16:48:45 +0200 Subject: [PATCH] needed for upgrade jupyterhub-singleuser server 3.1.1 - 4.x.x --- hub_docker/jupyterhub_config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hub_docker/jupyterhub_config.py b/hub_docker/jupyterhub_config.py index 0918930..2b97681 100644 --- a/hub_docker/jupyterhub_config.py +++ b/hub_docker/jupyterhub_config.py @@ -75,13 +75,14 @@ c.Spawner.start_timeout = 180 c.Spawner.http_timeout = 180 +c.Spawner.ip = '0.0.0.0' +c.Spawner.port = 8888 c.JupyterHub.spawner_class = FargateSpawner c.FargateSpawner.authentication_class = FargateSpawnerECSRoleAuthentication c.FargateSpawner.aws_region = os.environ.get('FARGATE_SPAWNER_REGION') c.FargateSpawner.aws_ecs_host = os.environ.get('FARGATE_SPAWNER_ECS_HOST') -c.FargateSpawner.notebook_port = 8888 c.FargateSpawner.notebook_scheme = "http" # #PATH seems to get mangled when starting a single user container from # jupyterhub container. /opt/conda/bin does not appear and this is @@ -97,7 +98,6 @@ 'containerOverrides': [{ 'command': [ '/opt/conda/bin/jupyterhub-singleuser', - f'--port={spawner.notebook_port}', '--config=jupyter_server_config.py' ], 'environment': [