From 565a15502dfe3935e3574fb5ec65fe976d9053b4 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Tue, 19 Dec 2023 14:46:12 +0100 Subject: [PATCH] Added additional matrix configuration --- roles/docker-matrix/README.md | 2 +- roles/docker-matrix/templates/homeserver.yaml.j2 | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/roles/docker-matrix/README.md b/roles/docker-matrix/README.md index 1da0ad17..de3a0002 100644 --- a/roles/docker-matrix/README.md +++ b/roles/docker-matrix/README.md @@ -37,7 +37,7 @@ Matrix is an open-source project that provides a protocol for secure, decentrali ## Sources ### Guides - +- https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html - https://cyberhost.uk/element-matrix-setup/ - https://www.linode.com/docs/guides/how-to-install-the-element-chat-app/ - https://hub.docker.com/r/vectorim/element-web diff --git a/roles/docker-matrix/templates/homeserver.yaml.j2 b/roles/docker-matrix/templates/homeserver.yaml.j2 index 81232ac3..ec96d0ee 100644 --- a/roles/docker-matrix/templates/homeserver.yaml.j2 +++ b/roles/docker-matrix/templates/homeserver.yaml.j2 @@ -24,5 +24,8 @@ report_stats: true macaroon_secret_key: "{{matrix_macaroon_secret_key}}" form_secret: "{{matrix_form_secret}}" signing_key_path: "/data/{{domain_matrix_synapse}}.signing.key" +web_client_location: "https://{{element_domain}}" +public_baseurl: "https://{{synapse_domain}}" trusted_key_servers: - server_name: "matrix.org" +admin_contact: 'mailto:{{administrator_email}}' \ No newline at end of file