diff --git a/config/localhost.yaml b/config/localhost.yaml index 3e9c74e1c..a5740294e 100644 --- a/config/localhost.yaml +++ b/config/localhost.yaml @@ -5,8 +5,9 @@ binderhub: config: BinderHub: # Use Kubernetes DNS - hub_url: http://jupyterhub.127.0.0.1.nip.io + hub_url: http://jupyterhub.mybinder.127.0.0.1.nip.io use_registry: false + image_prefix: dummy.io/localhost/binder- extraConfig: # Disable send events to StackDriver on Google Cloud @@ -22,12 +23,12 @@ binderhub: # This is unsafe! Only se for local development enabled: false hosts: - - 127.0.0.1.nip.io + - mybinder.127.0.0.1.nip.io jupyterhub: ingress: hosts: - - jupyterhub.127.0.0.1.nip.io + - jupyterhub.mybinder.127.0.0.1.nip.io static: ingress: diff --git a/deploy.py b/deploy.py index 5b1274e30..fa6437846 100755 --- a/deploy.py +++ b/deploy.py @@ -243,11 +243,11 @@ def deploy(release, name=None, dry_run=False, diff=False, ip_address=None, disab helm.extend( [ "--set", - f"binderhub.config.BinderHub.hub_url=http://jupyterhub.{ip_address}.nip.io", + f"binderhub.config.BinderHub.hub_url=http://jupyterhub.mybinder.{ip_address}.nip.io", "--set", - f"binderhub.ingress.hosts={{{ip_address}.nip.io}}", + f"binderhub.ingress.hosts={{mybinder.{ip_address}.nip.io}}", "--set", - f"binderhub.jupyterhub.ingress.hosts={{jupyterhub.{ip_address}.nip.io}}", + f"binderhub.jupyterhub.ingress.hosts={{jupyterhub.mybinder.{ip_address}.nip.io}}", "--set", f"static.ingress.hosts={{static.{ip_address}.nip.io}}", ]