bundlewrap/bundles/mautrix-telegram/metadata.py
Franziska Kunsmann 6cd02dc563
Some checks failed
bundlewrap/pipeline/head There was a failure building this commit
bundles: move non-login users to items.py
2020-11-10 13:24:07 +01:00

35 lines
1.1 KiB
Python

defaults = {
'apt': {
'packages': {
'ffmpeg': {},
},
},
'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',
},
'as_token': repo.vault.password_for('{} mautrix-telegram as_token'.format(node.name)),
'hs_token': repo.vault.password_for('{} mautrix-telegram hs_token'.format(node.name)),
'sender_localpart': repo.vault.password_for('{} mautrix-telegram sender_localpart'.format(node.name)),
},
'postgresql': {
'roles': {
'mautrix-telegram': {
'password': repo.vault.password_for('{} postgresql mautrix-telegram'.format(node.name)),
},
},
'databases': {
'mautrix-telegram': {
'owner': 'mautrix-telegram',
},
},
},
}