Commit 6f315351 authored by jaywink's avatar jaywink
Browse files

Add config option `dendrite_enabled_mscs` to enable MSC's supported by Dendrite

Defaults to an empty list.
parent c7724de0
# Changelog
## unreleased
* Add config option `dendrite_enabled_mscs` to enable MSC's supported by Dendrite. Defaults to an empty list.
## v1.0.0 - 2020-12-30
* Initial release
\ No newline at end of file
* Initial release
......@@ -60,6 +60,7 @@ Now you can run the play and get a fresh Dendrite.
* `dendrite_client_api_registration_shared_secret` - Registration shared secret for registering users (defaults to empty)
* `dendrite_container_labels` - Labels to add to the container (defaults to empty dictionary)
* `dendrite_docker_networks` - Additional docker networks to connect to (defaults to empty list)
* `dendrite_enabled_mscs` - A list of MSC's to enable (defaults to empty, list should have lowercase items, for example `msc2836`)
### Dependencies
......
......@@ -18,6 +18,7 @@ dendrite_container_labels: {}
dendrite_docker_networks: []
dendrite_client_api_registration_shared_secret: ""
dendrite_appservices: []
dendrite_enabled_mscs: []
# Unset
#dendrite_metrics_basic_auth_username:
......
......@@ -339,3 +339,14 @@ logging:
level: info
params:
path: /var/log/dendrite
{% if dendrite_enabled_mscs | count > 0 %}
# MSC's config
mscs:
mscs: {{ dendrite_enabled_mscs }}
database:
connection_string: "{{ dendrite_database_connection_string }}"
max_open_conns: 10
max_idle_conns: 2
conn_max_lifetime: -1
{% endif %}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment