bundles/mautrix-telegram: introduce

This commit is contained in:
Franzi 2020-09-06 12:05:42 +02:00
parent 180802a669
commit cf2920f284
Signed by: kunsi
GPG key ID: 12E3D2136B818350
5 changed files with 321 additions and 1 deletions

View file

@ -0,0 +1,33 @@
defaults = {
'users': {
'mautrix-telegram': {
'home': '/opt/mautrix-telegram',
'home-mode': '0755',
},
},
'matrix-synapse': {
'appservice_configs': {
'/opt/mautrix-telegram/registration.yaml',
},
},
'mautrix-telegram': {
'database': {
'user': 'mautrix-telegram',
'password': repo.vault.password_for('{} postgresql mautrix-telegram'.format(node.name)),
'database': 'mautrix-telegram',
},
},
'postgresql': {
'users': {
'mautrix-telegram': {
'password': repo.vault.password_for('{} postgresql mautrix-telegram'.format(node.name)),
},
},
'databases': {
'mautrix-telegram': {
'owner': 'mautrix-telegram',
},
},
},
}