Skip to content

Commit

Permalink
Do not override singleuser ip to 0.0.0.0
Browse files Browse the repository at this point in the history
- JupyterHub singleuser arguments are set using environment variables
- jupyter/docker-stacks#2203
  • Loading branch information
benz0li committed Jan 27, 2025
1 parent 5a1abab commit 4deab9a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions base/scripts/usr/local/bin/start-singleuser.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@

set -e

# set default ip to 0.0.0.0
if [[ "${NOTEBOOK_ARGS} $*" != *"--ip="* ]]; then
NOTEBOOK_ARGS="--ip=0.0.0.0 ${NOTEBOOK_ARGS}"
fi
# JupyterHub singleuser arguments are set using environment variables

echo "Executing: jupyterhub-singleuser" "${NOTEBOOK_ARGS}" "$@"
# shellcheck disable=SC1091,SC2086
Expand Down

0 comments on commit 4deab9a

Please sign in to comment.