Skip to content

Commit

Permalink
explicitly stating the address
Browse files Browse the repository at this point in the history
  • Loading branch information
srirag21 committed Jul 17, 2024
1 parent 29cec5c commit 2afffbb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ARG https_proxy

ENV http_proxy=${http_proxy}
ENV https_proxy=${https_proxy}
ENV JUPYTERHUB_IP=172.17.0.1
ENV JUPYTERHUB_IP=172.18.0.100
ENV JUPYTERHUB_PORT=87

RUN apt-get update && apt-get install -y curl
Expand Down
12 changes: 6 additions & 6 deletions jupyterhub_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
# This is the address on which the proxy will bind.
# Sets protocol, ip, base_url
# Default: 'http://:8000'
c.JupyterHub.bind_url = 'http://0.0.0.0:87'
c.JupyterHub.bind_url = 'http://172.18.0.100:87'

## Whether to shutdown the proxy when the Hub shuts down.
#
Expand Down Expand Up @@ -390,7 +390,7 @@
#
# .. versionadded:: 0.9
# Default: ''
c.JupyterHub.hub_bind_url = 'http://0.0.0.0:87'
c.JupyterHub.hub_bind_url = 'http://172.18.0.100:87'

## The ip or hostname for proxies and spawners to use
# for connecting to the Hub.
Expand All @@ -406,7 +406,7 @@
#
# .. versionadded:: 0.8
# Default: ''
c.JupyterHub.hub_connect_ip = '0.0.0.0'
c.JupyterHub.hub_connect_ip = '172.18.0.100'

## DEPRECATED
#
Expand All @@ -431,7 +431,7 @@
#
# .. versionadded:: 0.9
# Default: ''
c.JupyterHub.hub_connect_url = 'http://0.0.0.0:87'
c.JupyterHub.hub_connect_url = 'http://172.18.0.100:87'

## The ip address for the Hub process to *bind* to.
#
Expand All @@ -442,7 +442,7 @@
# See `hub_connect_ip` for cases where the bind and connect address should differ,
# or `hub_bind_url` for setting the full bind URL.
# Default: '127.0.0.1'
c.JupyterHub.hub_ip = "0.0.0.0"
c.JupyterHub.hub_ip = "172.18.0.100"

## The internal port for the Hub process.
#
Expand Down Expand Up @@ -1072,7 +1072,7 @@
# as '' was interpreted as 'unspecified',
# which used the subprocesses' own default, itself usually '127.0.0.1'.
# Default: '127.0.0.1'
c.Spawner.ip = '0.0.0.0'
c.Spawner.ip = '172.18.0.100'

## Minimum number of bytes a single-user notebook server is guaranteed to have
# available.
Expand Down

0 comments on commit 2afffbb

Please sign in to comment.