Handle optional lookup
This commit is contained in:
parent
432eb2c077
commit
fc9879c6ff
@ -22,6 +22,9 @@ file_env() {
|
||||
}
|
||||
|
||||
file_env "PEERTUBE_DB_PASSWORD"
|
||||
file_env "PEERTUBE_SMTP_PASSWORD"
|
||||
|
||||
if [ -z "$PEERTUBE_SMTP_PASSWORD_FILE" ]; then
|
||||
file_env "PEERTUBE_SMTP_PASSWORD"
|
||||
fi
|
||||
|
||||
exec /usr/local/bin/entrypoint.sh "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user