bundle/matrix-synapse update dependencies, improve postgres database

creation
This commit is contained in:
Sophie Schiller 2021-05-14 20:03:56 +02:00
parent bd19749971
commit 88cfbc0699
2 changed files with 6 additions and 0 deletions

View file

@ -32,6 +32,7 @@ svc_systemd = {
'file:/etc/matrix-synapse/homeserver.yaml',
'file:/etc/systemd/system/matrix-synapse.service.d/override.conf',
'pkg_apt:matrix-synapse-py3',
'postgres_db:synapse',
},
},
}

View file

@ -36,6 +36,7 @@ defaults = {
'password': repo.vault.password_for('{} postgresql synapse_user'.format(node.name)),
'database': 'synapse',
},
'appservice_configs': set(),
},
'postgresql': {
'roles': {
@ -46,6 +47,10 @@ defaults = {
'databases': {
'synapse': {
'owner': 'synapse_user',
'when_creating': {
'collation': 'C',
'ctype': 'C',
},
},
},
}