7
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2025-03-06 05:40:49 +00:00

Add a variable to control Dendrite's disable_federation setting

This commit is contained in:
Slavi Pantaleev 2021-11-01 17:51:05 +02:00
parent 268a3e5f3a
commit 8f4685f055
2 changed files with 5 additions and 1 deletions
roles/matrix-dendrite
defaults
templates/dendrite

View File

@ -114,6 +114,10 @@ matrix_dendrite_trusted_id_servers:
- "matrix.org" - "matrix.org"
- "vector.im" - "vector.im"
# Controls whether Dendrite will federate at all.
# Disable this to completely isolate your server from the rest of the Matrix network.
matrix_dendrite_disable_federation: false
# Default Dendrite configuration template which covers the generic use case. # Default Dendrite configuration template which covers the generic use case.
# You can customize it by controlling the various variables inside it. # You can customize it by controlling the various variables inside it.
# #

View File

@ -64,7 +64,7 @@ global:
# Disables federation. Dendrite will not be able to make any outbound HTTP requests # Disables federation. Dendrite will not be able to make any outbound HTTP requests
# to other servers and the federation API will not be exposed. # to other servers and the federation API will not be exposed.
disable_federation: false disable_federation: {{ matrix_dendrite_disable_federation|to_json }}
# Configuration for Kafka/Naffka. # Configuration for Kafka/Naffka.
kafka: kafka: