bundlewrap/bundles/matrix-synapse/metadata.py

35 lines
978 B
Python
Raw Normal View History

2020-08-18 13:27:55 +00:00
defaults = {
'apt': {
'repos': {
'matrix': {
'items': [
'deb https://packages.matrix.org/debian buster main',
],
2020-04-05 09:38:31 +00:00
},
2020-08-18 13:27:55 +00:00
},
'packages': {
'matrix-synapse-py3': {},
},
},
'matrix-synapse': {
'registration_shared_secret': repo.vault.human_password_for('{} matrix-synapse registration_shared_secret'.format(node.name)),
'database': {
'user': 'synapse_user',
'password': repo.vault.password_for('{} postgresql synapse_user'.format(node.name)),
'database': 'synapse',
},
},
'postgresql': {
'roles': {
2020-08-18 13:27:55 +00:00
'synapse_user': {
2020-04-05 09:38:31 +00:00
'password': repo.vault.password_for('{} postgresql synapse_user'.format(node.name)),
},
},
2020-08-18 13:27:55 +00:00
'databases': {
'synapse': {
'owner': 'synapse_user',
},
2020-08-18 13:27:55 +00:00
},
}
}