Use variables instead of hardcoding service port numbers in labels for matrix-synapse

This commit is contained in:
Slavi Pantaleev 2024-01-12 09:31:31 +02:00
parent a92efa46ad
commit 3556dd77ef

View File

@ -5,8 +5,8 @@ traefik.enable=true
traefik.docker.network={{ matrix_synapse_container_labels_traefik_docker_network }}
{% endif %}
traefik.http.services.matrix-synapse-client-api.loadbalancer.server.port=8008
traefik.http.services.matrix-synapse-federation-api.loadbalancer.server.port=8048
traefik.http.services.matrix-synapse-client-api.loadbalancer.server.port={{ matrix_synapse_container_client_api_port }}
traefik.http.services.matrix-synapse-federation-api.loadbalancer.server.port={{ matrix_synapse_container_federation_api_plain_port }}
{#