diff --git a/build/common/worker/docker-entrypoint.sh b/build/common/worker/docker-entrypoint.sh index 53db3141..bbee3b2e 100755 --- a/build/common/worker/docker-entrypoint.sh +++ b/build/common/worker/docker-entrypoint.sh @@ -32,7 +32,7 @@ function configureEnv() { DB_PORT=3306 fi - DB_HOST="${MARIADB_HOST:-$POSTGRES_HOST}" + export DB_HOST="${MARIADB_HOST:-$POSTGRES_HOST}" envsubst '${DB_HOST} ${DB_PORT}