From 3191e9b450db75bc62c928561ec8dd3b249122ea Mon Sep 17 00:00:00 2001 From: edisoncm-ti Date: Mon, 27 May 2024 15:14:52 -0300 Subject: [PATCH] fix: Correction to Postgres connection string in environment files --- Docker/.env.example | 2 +- src/dev-env.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Docker/.env.example b/Docker/.env.example index f55e3d65..4a7aada7 100644 --- a/Docker/.env.example +++ b/Docker/.env.example @@ -125,7 +125,7 @@ CHATWOOT_MESSAGE_DELETE=false # false | true # If you leave this option as true, when sending a message in Chatwoot, the client's last message will be marked as read on WhatsApp. CHATWOOT_MESSAGE_READ=false # false | true # This db connection is used to import messages from whatsapp to chatwoot database -CHATWOOT_IMPORT_DATABASE_CONNECTION_URI=postgres://user:password@hostname:port/dbname +CHATWOOT_IMPORT_DATABASE_CONNECTION_URI=postgres://user:password@hostname:port/dbname?sslmode=disable CHATWOOT_IMPORT_DATABASE_PLACEHOLDER_MEDIA_MESSAGE=true # Defines an authentication type for the api diff --git a/src/dev-env.yml b/src/dev-env.yml index adc308e8..29895b52 100644 --- a/src/dev-env.yml +++ b/src/dev-env.yml @@ -172,7 +172,7 @@ CHATWOOT: # This db connection is used to import messages from whatsapp to chatwoot database DATABASE: CONNECTION: - URI: "postgres://user:password@hostname:port/dbname" + URI: "postgres://user:password@hostname:port/dbname?sslmode=disable" PLACEHOLDER_MEDIA_MESSAGE: true # Cache to optimize application performance