jo
This commit is contained in:
parent
537614bd05
commit
4911bbaccd
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user