bundle/matrix-synapse update dependencies, improve postgres database
creation
This commit is contained in:
parent
bd19749971
commit
88cfbc0699
2 changed files with 6 additions and 0 deletions
|
@ -32,6 +32,7 @@ svc_systemd = {
|
||||||
'file:/etc/matrix-synapse/homeserver.yaml',
|
'file:/etc/matrix-synapse/homeserver.yaml',
|
||||||
'file:/etc/systemd/system/matrix-synapse.service.d/override.conf',
|
'file:/etc/systemd/system/matrix-synapse.service.d/override.conf',
|
||||||
'pkg_apt:matrix-synapse-py3',
|
'pkg_apt:matrix-synapse-py3',
|
||||||
|
'postgres_db:synapse',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,6 +36,7 @@ defaults = {
|
||||||
'password': repo.vault.password_for('{} postgresql synapse_user'.format(node.name)),
|
'password': repo.vault.password_for('{} postgresql synapse_user'.format(node.name)),
|
||||||
'database': 'synapse',
|
'database': 'synapse',
|
||||||
},
|
},
|
||||||
|
'appservice_configs': set(),
|
||||||
},
|
},
|
||||||
'postgresql': {
|
'postgresql': {
|
||||||
'roles': {
|
'roles': {
|
||||||
|
@ -46,6 +47,10 @@ defaults = {
|
||||||
'databases': {
|
'databases': {
|
||||||
'synapse': {
|
'synapse': {
|
||||||
'owner': 'synapse_user',
|
'owner': 'synapse_user',
|
||||||
|
'when_creating': {
|
||||||
|
'collation': 'C',
|
||||||
|
'ctype': 'C',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue