diff --git a/docker/backend-entrypoint.sh b/docker/backend-entrypoint.sh index a28aff5..3dc1885 100755 --- a/docker/backend-entrypoint.sh +++ b/docker/backend-entrypoint.sh @@ -42,9 +42,14 @@ if ! [ -z "$LW_CONFIGURE" ]; then EOF if [ "$SMTP_AUTH" != "false" ]; then + if [ -z "$SMTP_PASSWORD_FILE" ]; then + password="$SMTP_PASSWORD" + else + password="`cat $SMTP_PASSWORD_FILE`" + fi cat >>data-source.xml < - + EOF fi cat >>data-source.xml <