Use C collation for Postgres to appease Synapse

This commit is contained in:
Slavi Pantaleev
2020-01-21 00:12:49 +02:00
parent f9d21befdf
commit 9d3d538a2d
3 changed files with 27 additions and 2 deletions

View File

@ -1,4 +1,7 @@
#jinja2: lstrip_blocks: "True"
POSTGRES_USER={{ matrix_postgres_connection_username }}
POSTGRES_PASSWORD={{ matrix_postgres_connection_password }}
POSTGRES_DB={{ matrix_postgres_db_name }}
POSTGRES_DB={{ matrix_postgres_db_name }}
# Synapse refuses to run if collation is not C.
# See https://github.com/matrix-org/synapse/issues/6722
POSTGRES_INITDB_ARGS=--lc-collate C --lc-ctype C --encoding UTF8