Skip to content

Commit

Permalink
needed for upgrade jupyterhub-singleuser server 3.1.1 - 4.x.x
Browse files Browse the repository at this point in the history
  • Loading branch information
sebranchett committed Oct 17, 2023
1 parent acaa339 commit 2dd259b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hub_docker/jupyterhub_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -97,7 +98,6 @@
'containerOverrides': [{
'command': [
'/opt/conda/bin/jupyterhub-singleuser',
f'--port={spawner.notebook_port}',
'--config=jupyter_server_config.py'
],
'environment': [
Expand Down

0 comments on commit 2dd259b

Please sign in to comment.