databasename

This commit is contained in:
Ralf-Peter Wolff 2024-02-09 13:26:32 +01:00
parent 342458b476
commit 4efb4402f7
2 changed files with 2 additions and 3 deletions

View File

@ -57,6 +57,5 @@ services:
- POSTGRES_DB=whatsapp
- POSTGRES_USER=whatsapp
- POSTGRES_PASSWORD=jgzqnGCq3KY28C
#- POSTGRES_INITDB_ARGS=--encoding='UTF8' --lc-collate='C' --lc-ctype='C'

View File

@ -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@docker-postgres-whatsapp-1/whatsapp?sslmode=disable
# Maximum number of connections. Mostly relevant for Postgres.
max_open_conns: 20
max_idle_conns: 2