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"> - - + +