add matrix-synapse bundle

This commit is contained in:
Franzi 2020-04-05 11:38:31 +02:00
parent 29eeffbdc3
commit 8a26def21c
Signed by: kunsi
GPG key ID: 12E3D2136B818350
8 changed files with 267 additions and 6 deletions

View file

@ -1,5 +1,6 @@
nodes['htz.ex42-1048908'] = {
'bundles': [
'matrix-synapse',
'mx-puppet-discord',
'nginx',
'nodejs',
@ -22,16 +23,26 @@ nodes['htz.ex42-1048908'] = {
},
},
},
'matrix-synapse': {
'server_name': 'franzi.business',
'baseurl': 'matrix.franzi.business',
'admin_contact': 'mailto:hostmaster@kunbox.net',
'appservice_configs': {
'/opt/matrix-bridges/mautrix-whatsapp/registration.yaml',
'/opt/matrix-bridges/mautrix-telegram/registration.yaml',
'/opt/matrix-bridges/matrix-appservice-discord/discord-registration.yaml',
},
'trusted_key_servers': {
'matrix.org',
'finallycoffee.eu',
'nyantec.com',
},
},
'mx-puppet-discord': {
'homeserver': {
'domain': 'franzi.business',
'url': 'http://[::1]:8008',
},
'database': {
'user': 'mx-puppet-discord',
'password': vault.password_for('htz.ex42-1048908 postgres mx-puppet-discord'),
'database': 'mx-puppet-discord',
},
'allowed-users': {
'@.*:franzi\\\\.business',
},
@ -53,13 +64,19 @@ nodes['htz.ex42-1048908'] = {
'postgresql': {
'users': {
'mx-puppet-discord': {
'password': vault.password_for('htz.ex42-1048908 postgres mx-puppet-discord'),
'password': vault.password_for('htz.ex42-1048908 postgresql mx-puppet-discord'),
},
'synapse_user': {
'password': vault.password_for('htz.ex42-1048908 postgresql synapse_user'),
},
},
'databases': {
'mx-puppet-discord': {
'owner': 'mx-puppet-discord',
},
'synapse': {
'owner': 'synapse_user',
},
},
},
'users': {