diff --git a/lib/functions.sh b/lib/functions.sh index e26d452..e3df4ad 100755 --- a/lib/functions.sh +++ b/lib/functions.sh @@ -109,8 +109,11 @@ fail_and_report() { } ##Setting Network properties -export HOSTIP=$(MSYS_NO_PATHCONV=1 docker run --rm --add-host=host.docker.internal:host-gateway ubuntu cat /etc/hosts | grep 'host.docker.internal' | awk '{print $1}'); -export HOST=$(hostname) +# currently not needed +#export HOSTIP=$(MSYS_NO_PATHCONV=1 docker run --rm --add-host=host.docker.internal:host-gateway ubuntu cat /etc/hosts | grep 'host.docker.internal' | awk '{print $1}'); + +export HOST=$(hostname -f) + export PRODUCTION="false"; if [ "$(git branch --show-current)" == "main" ]; then export PRODUCTION="true";