Merge pull request #1632 from rommapp/misc/nginx-templates

misc: Use nginx templates to allow for environment variable usage
This commit is contained in:
Michael Manganiello
2025-02-19 00:55:34 -03:00
committed by GitHub
4 changed files with 86 additions and 80 deletions

View File

@@ -33,4 +33,7 @@ for var_name in $(printenv | cut -d= -f1 | grep "_FILE$" || true); do
unset "${var_name}"
done
# Replace environment variables used in nginx configuration templates.
/docker-entrypoint.d/20-envsubst-on-templates.sh >/dev/null
exec "$@"