Add the ability to control (Traefik) routing priority for Element and synapse-admin

This may proof useful to someone in the future.
This commit is contained in:
Slavi Pantaleev
2023-02-14 09:04:50 +02:00
parent 5c7cd70684
commit 799cbb44fb
4 changed files with 8 additions and 0 deletions

View File

@ -26,6 +26,9 @@ traefik.http.middlewares.matrix-client-element-add-headers.headers.customrespons
{% endif %}
traefik.http.routers.matrix-client-element.rule={{ matrix_client_element_container_labels_traefik_rule }}
{% if matrix_client_element_container_labels_traefik_priority | int > 0 %}
traefik.http.routers.matrix-client-element.priority={{ matrix_client_element_container_labels_traefik_priority }}
{% endif %}
traefik.http.routers.matrix-client-element.service=matrix-client-element
{% if middlewares | length > 0 %}
traefik.http.routers.matrix-client-element.middlewares={{ middlewares | join(',') }}