Replaced config w/ dotenv. Hydrate docker nginx using env. Updated readme

This commit is contained in:
2022-08-14 19:49:48 +02:00
parent cbf400c118
commit 3b98faeddd
13 changed files with 123 additions and 79 deletions

9
docker-entrypoint.sh Normal file
View File

@@ -0,0 +1,9 @@
#!/bin/sh
set -eu
export SEASONED_API=${SEASONED_API:-http://localhost:31459}
export SEASONED_DOMAIN=${SEASONED_DOMAIN:-localhost}
envsubst '$SEASONED_API,$SEASONED_DOMAIN' < /etc/nginx/conf.d/default.conf.template > /etc/nginx/conf.d/default.conf
exec "$@"