From 1be81334ce1f06edc7641809ba778e061d7cefd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20BENO=C3=8ET?= Date: Fri, 3 Jan 2025 16:58:18 +0100 Subject: [PATCH] chore: fix incorrect env var names in backend loader --- docker/backend-entrypoint.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docker/backend-entrypoint.sh b/docker/backend-entrypoint.sh index 8d293ad..d9cc382 100755 --- a/docker/backend-entrypoint.sh +++ b/docker/backend-entrypoint.sh @@ -3,10 +3,10 @@ cd /app if ! [ -z "$LW_CONFIGURE" ]; then - if [ -z "$DB_PASSWORD_FILE" ]; then - password="$DB_PASSWORD" + if [ -z "$LW_DB_PASSWORD_FILE" ]; then + password="$LW_DB_PASSWORD" else - password="`cat $DB_PASSWORD_FILE`" + password="`cat $LW_DB_PASSWORD_FILE`" fi cat >data-source.xml < @@ -15,8 +15,8 @@ if ! [ -z "$LW_CONFIGURE" ]; then xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"> - - + +