Only conditionally source this OIDC related env var
Closes coop-cloud/hometown#10.
This commit is contained in:
parent
b7b465880a
commit
40c778d8e0
@ -28,6 +28,9 @@ file_env "OTP_SECRET"
|
||||
file_env "SECRET_KEY_BASE"
|
||||
file_env "SMTP_PASSWORD"
|
||||
file_env "VAPID_PRIVATE_KEY"
|
||||
file_env "OIDC_CLIENT_SECRET"
|
||||
|
||||
if [ -z "$OIDC_ENABLED" ]; then
|
||||
file_env "OIDC_CLIENT_SECRET"
|
||||
fi
|
||||
|
||||
/usr/bin/tini -- "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user