mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-26 02:48:32 +01:00
bc15db3316
Trying to: - stay closer to naming in Synapse (autojoin -> auto_join) - not create new variable namespaces (`matrix_homeserver_`), when existing ones (`matrix_synapse_`) are more suitable - allow `null` (`~`) values for `matrix_riot_web_welcome_user_id` - render things like `auto_join_rooms` in `homeserver.yaml` more prettily - fix breakage in `config.json` where `matrix_riot_web_roomdir_servers` was rendered as YAML and not as JSON - simplify code (especially in riot-web's `config.json`), which used `if` statements that could have been omitted - avoid changing comments in `homeserver.yaml` which are not ours, so that we can keep closer to the configuration file generated by upstream
18 lines
856 B
Django/Jinja
18 lines
856 B
Django/Jinja
{
|
|
"default_hs_url": "{{ matrix_homeserver_url }}",
|
|
"default_is_url": "{{ matrix_identity_server_url }}",
|
|
"disable_custom_urls": {{ matrix_riot_web_disable_custom_urls|lower }},
|
|
"disable_guests": {{ matrix_riot_web_disable_guests|lower }},
|
|
"brand": "Riot",
|
|
"integrations_ui_url": "{{ matrix_riot_web_integrations_ui_url }}",
|
|
"integrations_rest_url": "{{ matrix_riot_web_integrations_rest_url }}",
|
|
"integrations_widgets_urls": "{{ matrix_riot_web_integrations_widgets_urls }}",
|
|
"integrations_jitsi_widget_url": "{{ matrix_riot_web_integrations_jitsi_widget_url }}",
|
|
"bug_report_endpoint_url": "https://riot.im/bugreports/submit",
|
|
"enableLabs": true,
|
|
"roomDirectory": {
|
|
"servers": {{ matrix_riot_web_roomdir_servers|to_json }}
|
|
},
|
|
"welcomeUserId": {{ matrix_riot_web_welcome_user_id|to_json }}
|
|
}
|