2024-01-03 16:05:59 +01:00
|
|
|
{% if matrix_synapse_reverse_proxy_companion_container_labels_traefik_enabled %}
|
|
|
|
traefik.enable=true
|
|
|
|
|
|
|
|
{% if matrix_synapse_reverse_proxy_companion_container_labels_traefik_docker_network %}
|
|
|
|
traefik.docker.network={{ matrix_synapse_reverse_proxy_companion_container_labels_traefik_docker_network }}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
traefik.http.services.matrix-synapse-reverse-proxy-companion-client-api.loadbalancer.server.port=8008
|
|
|
|
traefik.http.services.matrix-synapse-reverse-proxy-companion-federation-api.loadbalancer.server.port=8048
|
|
|
|
|
|
|
|
|
|
|
|
{#
|
2024-01-14 09:29:38 +01:00
|
|
|
Public Client-API (/_matrix)
|
2024-01-03 16:05:59 +01:00
|
|
|
#}
|
2024-01-14 09:29:38 +01:00
|
|
|
{% if matrix_synapse_reverse_proxy_companion_container_labels_public_client_api_enabled %}
|
2024-01-03 16:05:59 +01:00
|
|
|
|
2024-01-14 09:29:38 +01:00
|
|
|
traefik.http.routers.matrix-synapse-reverse-proxy-companion-client-api.rule={{ matrix_synapse_reverse_proxy_companion_container_labels_public_client_api_traefik_rule }}
|
2024-01-03 16:05:59 +01:00
|
|
|
|
2024-01-14 09:29:38 +01:00
|
|
|
{% if matrix_synapse_reverse_proxy_companion_container_labels_public_client_api_traefik_priority | int > 0 %}
|
|
|
|
traefik.http.routers.matrix-synapse-reverse-proxy-companion-client-api.priority={{ matrix_synapse_reverse_proxy_companion_container_labels_public_client_api_traefik_priority }}
|
2024-01-03 16:05:59 +01:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
traefik.http.routers.matrix-synapse-reverse-proxy-companion-client-api.service=matrix-synapse-reverse-proxy-companion-client-api
|
2024-01-14 09:29:38 +01:00
|
|
|
traefik.http.routers.matrix-synapse-reverse-proxy-companion-client-api.entrypoints={{ matrix_synapse_reverse_proxy_companion_container_labels_public_client_api_traefik_entrypoints }}
|
|
|
|
traefik.http.routers.matrix-synapse-reverse-proxy-companion-client-api.tls={{ matrix_synapse_reverse_proxy_companion_container_labels_public_client_api_traefik_tls | to_json }}
|
2024-01-03 16:05:59 +01:00
|
|
|
|
2024-01-14 09:29:38 +01:00
|
|
|
{% if matrix_synapse_reverse_proxy_companion_container_labels_public_client_api_traefik_tls %}
|
|
|
|
traefik.http.routers.matrix-synapse-reverse-proxy-companion-client-api.tls.certResolver={{ matrix_synapse_reverse_proxy_companion_container_labels_public_client_api_traefik_tls_certResolver }}
|
2024-01-03 16:05:59 +01:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
{#
|
2024-01-14 09:29:38 +01:00
|
|
|
/Public Client-API (/_matrix)
|
2024-01-03 16:05:59 +01:00
|
|
|
#}
|
|
|
|
|
|
|
|
|
|
|
|
{#
|
2024-01-14 09:29:38 +01:00
|
|
|
Public Synapse Admin API (/_synapse/client)
|
2024-01-04 10:37:17 +01:00
|
|
|
#}
|
2024-01-14 09:29:38 +01:00
|
|
|
{% if matrix_synapse_reverse_proxy_companion_container_labels_public_client_synapse_client_api_enabled %}
|
2024-01-04 10:37:17 +01:00
|
|
|
|
2024-01-14 09:29:38 +01:00
|
|
|
traefik.http.routers.matrix-synapse-reverse-proxy-companion-client-synapse-client-api.rule={{ matrix_synapse_reverse_proxy_companion_container_labels_public_client_synapse_client_api_traefik_rule }}
|
2024-01-04 10:37:17 +01:00
|
|
|
|
2024-01-14 09:29:38 +01:00
|
|
|
{% if matrix_synapse_reverse_proxy_companion_container_labels_public_client_synapse_client_api_traefik_priority | int > 0 %}
|
|
|
|
traefik.http.routers.matrix-synapse-reverse-proxy-companion-client-synapse-client-api.priority={{ matrix_synapse_reverse_proxy_companion_container_labels_public_client_synapse_client_api_traefik_priority }}
|
2024-01-04 10:37:17 +01:00
|
|
|
{% endif %}
|
|
|
|
|
2024-01-11 10:58:20 +01:00
|
|
|
traefik.http.routers.matrix-synapse-reverse-proxy-companion-client-synapse-client-api.service=matrix-synapse-reverse-proxy-companion-client-api
|
2024-01-14 09:29:38 +01:00
|
|
|
traefik.http.routers.matrix-synapse-reverse-proxy-companion-client-synapse-client-api.entrypoints={{ matrix_synapse_reverse_proxy_companion_container_labels_public_client_synapse_client_api_traefik_entrypoints }}
|
|
|
|
traefik.http.routers.matrix-synapse-reverse-proxy-companion-client-synapse-client-api.tls={{ matrix_synapse_reverse_proxy_companion_container_labels_public_client_synapse_client_api_traefik_tls | to_json }}
|
2024-01-04 10:37:17 +01:00
|
|
|
|
2024-01-14 09:29:38 +01:00
|
|
|
{% if matrix_synapse_reverse_proxy_companion_container_labels_public_client_synapse_client_api_traefik_tls %}
|
|
|
|
traefik.http.routers.matrix-synapse-reverse-proxy-companion-client-synapse-client-api.tls.certResolver={{ matrix_synapse_reverse_proxy_companion_container_labels_public_client_synapse_client_api_traefik_tls_certResolver }}
|
2024-01-04 10:37:17 +01:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
{#
|
2024-01-14 09:29:38 +01:00
|
|
|
/Public Synapse Admin API (/_synapse/client)
|
2024-01-04 10:37:17 +01:00
|
|
|
#}
|
|
|
|
|
|
|
|
|
|
|
|
{#
|
2024-01-14 09:29:38 +01:00
|
|
|
Public Synapse OIDC API (/_synapse/oidc)
|
2024-01-04 10:37:17 +01:00
|
|
|
#}
|
2024-01-14 09:29:38 +01:00
|
|
|
{% if matrix_synapse_reverse_proxy_companion_container_labels_public_client_synapse_oidc_api_enabled %}
|
2024-01-04 10:37:17 +01:00
|
|
|
|
2024-01-14 09:29:38 +01:00
|
|
|
traefik.http.routers.matrix-synapse-reverse-proxy-companion-client-synapse-oidc-api.rule={{ matrix_synapse_reverse_proxy_companion_container_labels_public_client_synapse_oidc_api_traefik_rule }}
|
2024-01-04 10:37:17 +01:00
|
|
|
|
2024-01-14 09:29:38 +01:00
|
|
|
{% if matrix_synapse_reverse_proxy_companion_container_labels_public_client_synapse_oidc_api_traefik_priority | int > 0 %}
|
|
|
|
traefik.http.routers.matrix-synapse-reverse-proxy-companion-client-synapse-oidc-api.priority={{ matrix_synapse_reverse_proxy_companion_container_labels_public_client_synapse_oidc_api_traefik_priority }}
|
2024-01-04 10:37:17 +01:00
|
|
|
{% endif %}
|
|
|
|
|
2024-01-11 10:58:20 +01:00
|
|
|
traefik.http.routers.matrix-synapse-reverse-proxy-companion-client-synapse-oidc-api.service=matrix-synapse-reverse-proxy-companion-client-api
|
2024-01-14 09:29:38 +01:00
|
|
|
traefik.http.routers.matrix-synapse-reverse-proxy-companion-client-synapse-oidc-api.entrypoints={{ matrix_synapse_reverse_proxy_companion_container_labels_public_client_synapse_oidc_api_traefik_entrypoints }}
|
|
|
|
traefik.http.routers.matrix-synapse-reverse-proxy-companion-client-synapse-oidc-api.tls={{ matrix_synapse_reverse_proxy_companion_container_labels_public_client_synapse_oidc_api_traefik_tls | to_json }}
|
2024-01-04 10:37:17 +01:00
|
|
|
|
2024-01-14 09:29:38 +01:00
|
|
|
{% if matrix_synapse_reverse_proxy_companion_container_labels_public_client_synapse_oidc_api_traefik_tls %}
|
|
|
|
traefik.http.routers.matrix-synapse-reverse-proxy-companion-client-synapse-oidc-api.tls.certResolver={{ matrix_synapse_reverse_proxy_companion_container_labels_public_client_synapse_oidc_api_traefik_tls_certResolver }}
|
2024-01-04 10:37:17 +01:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
{#
|
2024-01-14 09:29:38 +01:00
|
|
|
/Public Synapse OIDC API (/_synapse/oidc)
|
2024-01-04 10:37:17 +01:00
|
|
|
#}
|
|
|
|
|
|
|
|
|
|
|
|
{#
|
2024-01-14 09:29:38 +01:00
|
|
|
Public Synapse Admin API (/_synapse/admin)
|
2024-01-04 10:37:17 +01:00
|
|
|
#}
|
2024-01-14 09:29:38 +01:00
|
|
|
{% if matrix_synapse_reverse_proxy_companion_container_labels_public_client_synapse_admin_api_enabled %}
|
2024-01-04 10:37:17 +01:00
|
|
|
|
2024-01-14 09:29:38 +01:00
|
|
|
traefik.http.routers.matrix-synapse-reverse-proxy-companion-client-synapse-admin-api.rule={{ matrix_synapse_reverse_proxy_companion_container_labels_public_client_synapse_admin_api_traefik_rule }}
|
2024-01-04 10:37:17 +01:00
|
|
|
|
2024-01-14 09:29:38 +01:00
|
|
|
{% if matrix_synapse_reverse_proxy_companion_container_labels_public_client_synapse_admin_api_traefik_priority | int > 0 %}
|
|
|
|
traefik.http.routers.matrix-synapse-reverse-proxy-companion-client-synapse-admin-api.priority={{ matrix_synapse_reverse_proxy_companion_container_labels_public_client_synapse_admin_api_traefik_priority }}
|
2024-01-04 10:37:17 +01:00
|
|
|
{% endif %}
|
|
|
|
|
2024-01-11 10:58:20 +01:00
|
|
|
traefik.http.routers.matrix-synapse-reverse-proxy-companion-client-synapse-admin-api.service=matrix-synapse-reverse-proxy-companion-client-api
|
2024-01-14 09:29:38 +01:00
|
|
|
traefik.http.routers.matrix-synapse-reverse-proxy-companion-client-synapse-admin-api.entrypoints={{ matrix_synapse_reverse_proxy_companion_container_labels_public_client_synapse_admin_api_traefik_entrypoints }}
|
|
|
|
traefik.http.routers.matrix-synapse-reverse-proxy-companion-client-synapse-admin-api.tls={{ matrix_synapse_reverse_proxy_companion_container_labels_public_client_synapse_admin_api_traefik_tls | to_json }}
|
2024-01-04 10:37:17 +01:00
|
|
|
|
2024-01-14 09:29:38 +01:00
|
|
|
{% if matrix_synapse_reverse_proxy_companion_container_labels_public_client_synapse_admin_api_traefik_tls %}
|
|
|
|
traefik.http.routers.matrix-synapse-reverse-proxy-companion-client-synapse-admin-api.tls.certResolver={{ matrix_synapse_reverse_proxy_companion_container_labels_public_client_synapse_admin_api_traefik_tls_certResolver }}
|
2024-01-04 10:37:17 +01:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
{#
|
2024-01-14 09:29:38 +01:00
|
|
|
/Public Synapse Admin API (/_synapse/admin)
|
2024-01-04 10:37:17 +01:00
|
|
|
#}
|
|
|
|
|
|
|
|
|
|
|
|
{#
|
2024-01-14 09:29:38 +01:00
|
|
|
Public Federation-API (/_matrix)
|
2024-01-03 16:05:59 +01:00
|
|
|
#}
|
2024-01-14 09:29:38 +01:00
|
|
|
{% if matrix_synapse_reverse_proxy_companion_container_labels_public_federation_api_enabled %}
|
2024-01-03 16:05:59 +01:00
|
|
|
|
2024-01-14 09:29:38 +01:00
|
|
|
traefik.http.routers.matrix-synapse-reverse-proxy-companion-federation-api.rule={{ matrix_synapse_reverse_proxy_companion_container_labels_public_federation_api_traefik_rule }}
|
2024-01-03 16:05:59 +01:00
|
|
|
|
2024-01-14 09:29:38 +01:00
|
|
|
{% if matrix_synapse_reverse_proxy_companion_container_labels_public_federation_api_traefik_priority | int > 0 %}
|
|
|
|
traefik.http.routers.matrix-synapse-reverse-proxy-companion-federation-api.priority={{ matrix_synapse_reverse_proxy_companion_container_labels_public_federation_api_traefik_priority }}
|
2024-01-03 16:05:59 +01:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
traefik.http.routers.matrix-synapse-reverse-proxy-companion-federation-api.service=matrix-synapse-reverse-proxy-companion-federation-api
|
2024-01-14 09:29:38 +01:00
|
|
|
traefik.http.routers.matrix-synapse-reverse-proxy-companion-federation-api.entrypoints={{ matrix_synapse_reverse_proxy_companion_container_labels_public_federation_api_traefik_entrypoints }}
|
|
|
|
traefik.http.routers.matrix-synapse-reverse-proxy-companion-federation-api.tls={{ matrix_synapse_reverse_proxy_companion_container_labels_public_federation_api_traefik_tls | to_json }}
|
2024-01-03 16:05:59 +01:00
|
|
|
|
2024-01-14 09:29:38 +01:00
|
|
|
{% if matrix_synapse_reverse_proxy_companion_container_labels_public_federation_api_traefik_tls %}
|
|
|
|
traefik.http.routers.matrix-synapse-reverse-proxy-companion-federation-api.tls.certResolver={{ matrix_synapse_reverse_proxy_companion_container_labels_public_federation_api_traefik_tls_certResolver }}
|
2024-01-03 16:05:59 +01:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
{#
|
2024-01-14 09:29:38 +01:00
|
|
|
/Public Federation-API (/_matrix)
|
2024-01-03 16:05:59 +01:00
|
|
|
#}
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{{ matrix_synapse_reverse_proxy_companion_container_labels_additional_labels }}
|