docker entrypoint: make DB_* optional
This commit is contained in:
parent
8b4d1f51f6
commit
d0cac9d1d9
|
@ -53,10 +53,10 @@ END
|
||||||
# generate config using env vars from docker
|
# generate config using env vars from docker
|
||||||
cat > .env <<END
|
cat > .env <<END
|
||||||
${dpp_env_vars:-}
|
${dpp_env_vars:-}
|
||||||
DB_USER='${DB_USER}'
|
DB_USER='${DB_USER:-}'
|
||||||
DB_PASSWORD='${DB_PASSWORD}'
|
DB_PASSWORD='${DB_PASSWORD:-}'
|
||||||
DB_HOST='${DB_HOST}'
|
DB_HOST='${DB_HOST:-}'
|
||||||
DB_DATABASE='${DB_DATABASE}'
|
DB_DATABASE='${DB_DATABASE:-}'
|
||||||
URL_MANUALS='${URL_MANUALS:-}'
|
URL_MANUALS='${URL_MANUALS:-}'
|
||||||
|
|
||||||
HOST='${HOST}'
|
HOST='${HOST}'
|
||||||
|
|
Loading…
Reference in a new issue