fix: provide correct initargs

Closes #23.
This commit is contained in:
decentral1se 2022-03-08 09:17:27 +01:00
parent 1188f5d770
commit e9b5a5360f
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
1 changed files with 3 additions and 1 deletions

View File

@ -58,8 +58,10 @@ services:
secrets:
- db_password
environment:
- LC_COLLATE=C
- LC_CTYPE=C
- POSTGRES_DB=synapse
- POSTGRES_INITDB_ARGS="--encoding=UTF-8 --lc-collate=C --lc-ctype=C"
- POSTGRES_INITDB_ARGS="-E \"UTF8\""
- POSTGRES_PASSWORD_FILE=/run/secrets/db_password
- POSTGRES_USER=synapse
networks: