Skip to content

Commit

Permalink
remove implicit requirement and follow documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
sebranchett committed Oct 17, 2023
1 parent 9272382 commit acaa339
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
9 changes: 2 additions & 7 deletions single_user_docker/jupyter_server_config.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
# Configuration file for jupyter-server.
from jupyter_client.localinterfaces import public_ips

c = get_config()
# Where am I?
# this from: https://github.com/jupyterhub/dockerspawner/issues/198
# "nils-werner commented on Jul 12, 2018"
ip = public_ips()[0]

# The IP address the Jupyter server will listen on
c.ServerApp.ip = ip
# Set ip to '*' to bind on all interfaces (ips) for the hub server
c.ServerApp.ip = '*'

# The port the server will listen on (env: JUPYTER_PORT)
c.ServerApp.port = 8888
Expand Down
1 change: 0 additions & 1 deletion single_user_docker/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
jupyter_client
jupyter-server-proxy
git+https://github.com/sebranchett/pluto-on-jupyterlab.git

0 comments on commit acaa339

Please sign in to comment.