Explorar o código

persist override of HUGINN_PORT

Adrian Goins %!s(int64=6) %!d(string=hai) anos
pai
achega
486783f008
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      docker/scripts/setup_env

+ 1 - 0
docker/scripts/setup_env

@@ -45,6 +45,7 @@ RAILS_SERVE_STATIC_FILES=${RAILS_SERVE_STATIC_FILES:-true}
 IP="${IP:-0.0.0.0}"
 PORT=${HUGINN_PORT:-${PORT:-3000}}
 PORT="$(echo $PORT|awk -F ':' '{print $NF}')"
+HUGINN_PORT=${PORT}
 
 cp -a /app/.env.example /tmp/