ansible/roles/element_web_docker/templates/config.json.j2

48 lines
1.6 KiB
Text
Raw Permalink Normal View History

{
"default_server_config": {
"m.homeserver": {
"base_url": "{{ element_web.homeserver_base_url }}",
"server_name": "{{ element_web.homeserver_server_name }}"
}
},
"disable_custom_urls": {{ element_web.disable_custom_urls_boolean }},
"terms_and_conditions_links": [{% for item in (element_web.terms_and_conditions_links|dict2items) %}
{
"url": "{{ item.value.url }}",
"text": "{{ item.value.text }}"
}{% if not loop.last %},{% endif %}{% endfor %}
],
"brand": "{{ element_web.brand }}",
"integrations_ui_url": "https://scalar.vector.im/",
"integrations_rest_url": "https://scalar.vector.im/api",
"branding": {
"authHeaderLogoUrl": "/{{ element_web.logo }}",
"authFooterLinks": [{% for item in (element_web.terms_and_conditions_links|dict2items) %}
{
"url": "{{ item.value.url }}",
"text": "{{ item.value.text }}"
}{% if not loop.last %},{% endif %}{% endfor %}
]
},
"disable_guests": false,
"disable_login_language_selector": false,
"disable_3pid_login": false,
"default_country_code": "{{ element_web.default_country_code }}",
"show_labs_settings": {{ element_web.show_labs_settings_boolean }},
"features": {
"feature_pinning": {{ element_web.feature_pinning_boolean }}
},
"default_federate": true,
"room_directory": {
"servers": [
"{{ element_web.room_directory }}"
]
},
"enable_presence_by_hs_url": {},
"setting_defaults": {
"UIFeature.urlPreviews": true,
"UIFeature.advancedSettings": true,
"UIFeature.identityServer": false
}
}