Browse Source

persist override of HUGINN_PORT

Adrian Goins 6 years ago
parent
commit
486783f008
1 changed files with 1 additions and 0 deletions
  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/