mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-18 15:32:56 +00:00
Don't override singleuser ip to 0.0.0.0 (#2203)
Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
This commit is contained in:
@@ -8,9 +8,7 @@ import sys
|
|||||||
# Entrypoint is start.sh
|
# Entrypoint is start.sh
|
||||||
command = ["jupyterhub-singleuser"]
|
command = ["jupyterhub-singleuser"]
|
||||||
|
|
||||||
# set default ip to 0.0.0.0
|
# JupyterHub singleuser arguments are set using environment variables
|
||||||
if "--ip=" not in os.environ.get("NOTEBOOK_ARGS", ""):
|
|
||||||
command.append("--ip=0.0.0.0")
|
|
||||||
|
|
||||||
# Append any optional NOTEBOOK_ARGS we were passed in.
|
# Append any optional NOTEBOOK_ARGS we were passed in.
|
||||||
# This is supposed to be multiple args passed on to the notebook command,
|
# This is supposed to be multiple args passed on to the notebook command,
|
||||||
|
Reference in New Issue
Block a user