2024-09-27 08:09:32 +10:00
|
|
|
{% if matrix_element_call_container_labels_traefik_enabled %}
|
|
|
|
traefik.enable=true
|
|
|
|
|
|
|
|
{% if matrix_element_call_container_labels_traefik_docker_network %}
|
|
|
|
traefik.docker.network={{ matrix_element_call_container_labels_traefik_docker_network }}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
# Define the Traefik router rule for LiveKit
|
2024-09-27 09:59:54 +10:00
|
|
|
traefik.http.routers.livekit-router.rule=Host(`{{ matrix_element_call_livekit_hostname }}`)
|
2024-09-27 08:09:32 +10:00
|
|
|
traefik.http.routers.livekit-router.entrypoints={{ matrix_element_call_container_labels_traefik_entrypoints }}
|
|
|
|
traefik.http.routers.livekit-router.tls.certresolver={{ matrix_element_call_container_labels_traefik_tls_certResolver }}
|
|
|
|
traefik.http.services.livekit-service.loadbalancer.server.port=7880
|
|
|
|
{% endif %}
|