This is an automated email from the ASF dual-hosted git repository.

danwatford pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 5534b299c1 Fixed: Set tenant db password for docker deployments 
(OFBIZ-12791)
5534b299c1 is described below

commit 5534b299c18ef5c389a1a83d66411f25d26b5427
Author: Daniel Watford <dan...@watfordconsulting.com>
AuthorDate: Fri Mar 31 18:14:16 2023 +0100

    Fixed: Set tenant db password for docker deployments (OFBIZ-12791)
    
    When deploying OFBiz as a docker container connecting to a Postgres DB,
    ensure the password for the tenant database connection is set.
---
 docker/docker-entrypoint.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docker/docker-entrypoint.sh b/docker/docker-entrypoint.sh
index 33dc7b5306..baa1536c94 100755
--- a/docker/docker-entrypoint.sh
+++ b/docker/docker-entrypoint.sh
@@ -339,7 +339,7 @@ configure_database() {
         --expression="s/@OLAP_PASSWORD@/$OFBIZ_POSTGRES_OLAP_PASSWORD/;" \
         --expression="s/@TENANT_DB@/$OFBIZ_POSTGRES_TENANT_DB/;" \
         --expression="s/@TENANT_USERNAME@/$OFBIZ_POSTGRES_TENANT_USER/;" \
-        --expression="s/@TENAN_PASSWORD@/$OFBIZ_POSTGRES_TENANT_PASSWORD/;" \
+        --expression="s/@TENANT_PASSWORD@/$OFBIZ_POSTGRES_TENANT_PASSWORD/;" \
         templates/postgres-entityengine.xml > config/entityengine.xml
 
       if [ -z "$OFBIZ_SKIP_DB_DRIVER_DOWNLOAD" ]; then

Reply via email to