Add matrix

This commit is contained in:
Tibo De Peuter 2024-02-08 20:12:54 +01:00
parent 29f97e9d45
commit ff7537dd26
8 changed files with 1263 additions and 0 deletions

View file

@ -0,0 +1,53 @@
# Configuration file for Synapse.
#
# This is a YAML file: see [1] for a quick introduction. Note in particular
# that *indentation is important*: all the elements of a list or dictionary
# should have the same indentation.
#
# [1] https://docs.ansible.com/ansible/latest/reference_appendices/YAMLSyntax.html
#
# For more information on how to configure Synapse, including a complete accounting of
# each option, go to docs/usage/configuration/config_documentation.md or
# https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html
server_name: "depeuter.dev"
public_baseurl: "https://matrix.depeuter.dev"
pid_file: /data/homeserver.pid
listeners:
- port: 8008
tls: false
type: http
x_forwarded: true
resources:
- names: [client]
compress: false
database:
name: psycopg2
txn_limit: 10000
args:
user: synapse
password: Ql6Q2gGIgLtBYy29qdjGchAxqe1oUuCbdIQEuAEyQgNG0NTfnPyd8x5HqS4QLQUU
host: synapse_postgres
port: 5432
cp_min: 5
cp_max: 10
log_config: "/data/depeuter.dev.log.config"
media_store_path: /data/media_store
registration_shared_secret: "i1DgMwE=YAMD4qy2#aZ#hc~zS^_;NCHrTblf7oZRdNwiXZfTQ8"
report_stats: false
macaroon_secret_key: "rU.4JCjsxzQjeDJBfFcSIWh@-L,UizEryQt8*V@3CVjC@N1ISl"
form_secret: "Zm=:E;M_AVKE:yXW1@SE8fO5tu.2mAGW8YA1&x^Q@TNf;GPYYA"
signing_key_path: "/data/depeuter.dev.signing.key"
trusted_key_servers:
- server_name: "matrix.org"
web_client_location: https://cinny.depeuter.dev/
user_directory:
enabled: true
search_all_users: true
app_service_config_files:
- /data/mautrix-discord-registration.yaml
- /data/mautrix-meta-registration.yaml
- /data/mautrix-whatsapp-registration.yaml
# vim:ft=yaml

View file

@ -0,0 +1,14 @@
id: discord
url: http://mautrix-discord:29334
as_token: M17A0T8hSdhFz5rVWzYsTZX8LYYbagV4NT0vY2Rl2DHddoGpy9ZOEipenSFeF6cZ
hs_token: qH257VIbNreIVkMg4L0J6tbyEV9cP7GRHeJBIeNxVK7XkYfi7RCCoDdYwFf9NMgd
sender_localpart: hY0gw8xaAaHjTt2JDWKt8DErD5Y7N6Yu
rate_limited: false
namespaces:
users:
- regex: ^@discordbot:depeuter\.dev$
exclusive: true
- regex: ^@discord_.*:depeuter\.dev$
exclusive: true
de.sorunome.msc2409.push_ephemeral: true
push_ephemeral: true

View file

@ -0,0 +1,14 @@
id: facebook
url: http://mautrix-meta:29319
as_token: ctB1EcqDyuE4pliZC1ZbwHyroB8s3ZANdWaD6NKKFebStsHz46BtiF3ZoerFo8ny
hs_token: WloT4zGC2Wn86B5sHwnB9sQ5sqxPJxy7JTmgr7tJ2qSE9cmegVIjsrTgz07gJpcr
sender_localpart: yJLbY8PmaFq3Ov8TZkevhE5t2vhuMRYM
rate_limited: false
namespaces:
users:
- regex: ^@facebookbot:depeuter\.dev$
exclusive: true
- regex: ^@facebook_.*:depeuter\.dev$
exclusive: true
de.sorunome.msc2409.push_ephemeral: true
push_ephemeral: true

View file

@ -0,0 +1,14 @@
id: whatsapp
url: http://mautrix-whatsapp:29318
as_token: fu9gW8DDSve8RUElJVM2FaEXQAQOvfW5f3yLlMdjhubZnNNIDuGe3HHJc2QYarRX
hs_token: EV39dnNAr0bwKeU9dehnp7zyFKKqvRPA1CS2NZab5KErWXMqlzeC2We2yBdpN8yZ
sender_localpart: xTHIVrUxShbQH2q1ViDTSWKX9TtKG2hN
rate_limited: false
namespaces:
users:
- regex: ^@whatsappbot:depeuter\.dev$
exclusive: true
- regex: ^@whatsapp_.*:depeuter\.dev$
exclusive: true
de.sorunome.msc2409.push_ephemeral: true
push_ephemeral: true