From 4911bbaccd55941aa27df51977c1271f135c5924 Mon Sep 17 00:00:00 2001 From: rpwolff Date: Fri, 9 Feb 2024 14:17:31 +0100 Subject: [PATCH] jo --- docker-compose.yaml | 4 ++-- synapse/mautrix-whatsapp/config.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index a86d39c..f46cb72 100755 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -63,8 +63,8 @@ services: restart: unless-stopped volumes: - ./synapse/mautrix-whatsapp/postgres:/var/lib/postgresql/data -# ports: -# - "5432:5432" + ports: + - "5432:5432" environment: - POSTGRES_DB=whatsapp - POSTGRES_USER=whatsapp diff --git a/synapse/mautrix-whatsapp/config.yaml b/synapse/mautrix-whatsapp/config.yaml index da450d8..6c49b2f 100644 --- a/synapse/mautrix-whatsapp/config.yaml +++ b/synapse/mautrix-whatsapp/config.yaml @@ -42,7 +42,7 @@ appservice: # https://github.com/mattn/go-sqlite3#connection-string # Postgres: Connection string. For example, postgres://user:password@host/database?sslmode=disable # To connect via Unix socket, use something like postgres:///dbname?host=/var/run/postgresql - uri: postgres://whatsapp:jgzqnGCq3KY28C@postgres-whatsapp/whatsapp?sslmode=disable + uri: postgres://whatsapp:jgzqnGCq3KY28C@postgres-whatsapp:5432/whatsapp?sslmode=disable # Maximum number of connections. Mostly relevant for Postgres. max_open_conns: 20 max_idle_conns: 2