Skip to content
Permalink
Browse files

only use first ip address in hostname cmd

  • Loading branch information
cdbattags committed Nov 22, 2019
1 parent 93bca70 commit 8b3a77ac76a1b77cd52b6786f7594b54471cc097
Showing with 1 addition and 1 deletion.
  1. +1 −1 server/tools/docker-entrypoint.sh
@@ -77,7 +77,7 @@ fi
########################

if [[ -z ${BIND:-} ]]; then
BIND=$(hostname --all-ip-addresses)
BIND=$(hostname --all-ip-addresses | cut -d' ' -f1)
fi
if [[ -z ${BIND_OPTS:-} ]]; then
for BIND_IP in $BIND

0 comments on commit 8b3a77a

Please sign in to comment.
You can’t perform that action at this time.