Files
2026-07-23 23:02:46 +07:00

50 lines
2.4 KiB
Django/Jinja

{#
SPDX-FileCopyrightText: 2026 MDAD project contributors
SPDX-License-Identifier: AGPL-3.0-or-later
#}
{% if matrix_bridge_beeper_line_container_labels_traefik_enabled %}
traefik.enable=true
{% if matrix_bridge_beeper_line_container_labels_traefik_docker_network %}
traefik.docker.network={{ matrix_bridge_beeper_line_container_labels_traefik_docker_network }}
{% endif %}
{% if matrix_bridge_beeper_line_container_labels_exposure_enabled %}
############################################################
# #
# Bridge API exposure #
# #
############################################################
traefik.http.services.matrix-beeper-line-exposure.loadbalancer.server.port=29322
traefik.http.middlewares.matrix-beeper-line-exposure-strip-prefix.stripprefix.prefixes={{ matrix_bridge_beeper_line_exposure_path_prefix }}
traefik.http.routers.matrix-beeper-line-exposure.middlewares=matrix-beeper-line-exposure-strip-prefix
traefik.http.routers.matrix-beeper-line-exposure.rule={{ matrix_bridge_beeper_line_container_labels_exposure_traefik_rule }}
{% if matrix_bridge_beeper_line_container_labels_exposure_traefik_priority | int > 0 %}
traefik.http.routers.matrix-beeper-line-exposure.priority={{ matrix_bridge_beeper_line_container_labels_exposure_traefik_priority }}
{% endif %}
traefik.http.routers.matrix-beeper-line-exposure.service=matrix-beeper-line-exposure
traefik.http.routers.matrix-beeper-line-exposure.entrypoints={{ matrix_bridge_beeper_line_container_labels_exposure_traefik_entrypoints }}
traefik.http.routers.matrix-beeper-line-exposure.tls={{ matrix_bridge_beeper_line_container_labels_exposure_traefik_tls | to_json }}
{% if matrix_bridge_beeper_line_container_labels_exposure_traefik_tls %}
traefik.http.routers.matrix-beeper-line-exposure.tls.certResolver={{ matrix_bridge_beeper_line_container_labels_exposure_traefik_tls_certResolver }}
{% endif %}
############################################################
# #
# /Bridge API exposure #
# #
############################################################
{% endif %}
{% endif %}
{{ matrix_bridge_beeper_line_container_labels_additional_labels }}