mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-17 20:54:57 +00:00
023fe3ea08
This allows people to try out the new Element X clients, which need to run against the sliding-sync proxy (https://github.com/matrix-org/sliding-sync). Supersedes https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2515 The code is based on the existing PR (#2515), but heavily reworked. Major changes: - lots of internal refactoring and variable renaming - fixed self-building to support non-amd64 architectures - changed to talk to the homeserver locally, over the container network (not publicly) - no more matrix-nginx-proxy support due to complexity (see below) - no more `matrix_server_fqn_sliding_sync_proxy` in favor of `matrix_sliding_sync_hostname` and `matrix_sliding_sync_path_prefix` - runs on `matrix.DOMAIN/sliding-sync` by default, so it can tried easily without having to create new DNS records
52 lines
1.7 KiB
Django/Jinja
52 lines
1.7 KiB
Django/Jinja
#jinja2: lstrip_blocks: "True"
|
|
{
|
|
"m.homeserver": {
|
|
"base_url": "{{ matrix_homeserver_url }}"
|
|
}
|
|
{% if matrix_identity_server_url %},
|
|
"m.identity_server": {
|
|
"base_url": "{{ matrix_identity_server_url }}"
|
|
}
|
|
{% endif %}
|
|
{% if matrix_integration_manager_rest_url and matrix_integration_manager_ui_url %},
|
|
"m.integrations": {
|
|
"managers": [
|
|
{
|
|
"api_url": "{{ matrix_integration_manager_rest_url }}",
|
|
"ui_url": "{{ matrix_integration_manager_ui_url }}"
|
|
}
|
|
]
|
|
}
|
|
{% endif %}
|
|
{% if matrix_client_element_jitsi_preferredDomain %},
|
|
"io.element.jitsi": {
|
|
"preferredDomain": {{ matrix_client_element_jitsi_preferredDomain|to_json }}
|
|
},
|
|
"im.vector.riot.jitsi": {
|
|
"preferredDomain": {{ matrix_client_element_jitsi_preferredDomain|to_json }}
|
|
}
|
|
{% endif %}
|
|
{% if matrix_sliding_sync_enabled %},
|
|
"org.matrix.msc3575.proxy": {
|
|
"url": "{{ matrix_sliding_sync_base_url }}"
|
|
}
|
|
{% endif %}
|
|
{% if matrix_client_element_location_sharing_enabled %},
|
|
"m.tile_server": {
|
|
"map_style_url": "https://{{ matrix_server_fqn_element }}/map_style.json"
|
|
}
|
|
{% endif %}
|
|
{% if matrix_well_known_matrix_client_io_element_e2ee_entries_enabled %},
|
|
"io.element.e2ee": {
|
|
"default": {{ matrix_well_known_matrix_client_io_element_e2ee_default|to_json }},
|
|
"secure_backup_required": {{ matrix_well_known_matrix_client_io_element_e2ee_secure_backup_required|to_json }},
|
|
"secure_backup_setup_methods": {{ matrix_well_known_matrix_client_io_element_e2ee_secure_backup_setup_methods|to_json }}
|
|
}
|
|
{% endif %}
|
|
{% if matrix_well_known_matrix_client_io_element_e2ee_entries_enabled %},
|
|
"im.vector.riot.e2ee": {
|
|
"default": {{ matrix_well_known_matrix_client_io_element_e2ee_default|to_json }}
|
|
}
|
|
{% endif %}
|
|
}
|