Skip to content

Commit 7321032

Browse files
Merge pull request #618 from edisoncm-ti/develop
fix: Correction to Postgres connection string in environment files
2 parents bf88fdb + 3191e9b commit 7321032

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Docker/.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ CHATWOOT_MESSAGE_DELETE=false # false | true
149149
# 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.
150150
CHATWOOT_MESSAGE_READ=false # false | true
151151
# This db connection is used to import messages from whatsapp to chatwoot database
152-
CHATWOOT_IMPORT_DATABASE_CONNECTION_URI=postgres://user:password@hostname:port/dbname
152+
CHATWOOT_IMPORT_DATABASE_CONNECTION_URI=postgres://user:password@hostname:port/dbname?sslmode=disable
153153
CHATWOOT_IMPORT_DATABASE_PLACEHOLDER_MEDIA_MESSAGE=true
154154

155155
CACHE_REDIS_ENABLED=false

src/dev-env.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ CHATWOOT:
194194
# This db connection is used to import messages from whatsapp to chatwoot database
195195
DATABASE:
196196
CONNECTION:
197-
URI: "postgres://user:password@hostname:port/dbname"
197+
URI: "postgres://user:password@hostname:port/dbname?sslmode=disable"
198198
PLACEHOLDER_MEDIA_MESSAGE: true
199199

200200
# Cache to optimize application performance

0 commit comments

Comments
 (0)