Matrix Docker Ansible eploy
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

54 строки
2.5 KiB

  1. {#
  2. SPDX-FileCopyrightText: 2026 MDAD project contributors
  3. SPDX-FileCopyrightText: 2026 Jason LaGuidice
  4. SPDX-License-Identifier: AGPL-3.0-or-later
  5. #}
  6. {% if matrix_rustpush_bridge_container_labels_traefik_enabled %}
  7. traefik.enable=true
  8. {% if matrix_rustpush_bridge_container_labels_traefik_docker_network %}
  9. traefik.docker.network={{ matrix_rustpush_bridge_container_labels_traefik_docker_network }}
  10. {% endif %}
  11. traefik.http.services.matrix-rustpush-bridge-metrics.loadbalancer.server.port=8000
  12. {% if matrix_rustpush_bridge_container_labels_metrics_enabled %}
  13. ############################################################
  14. # #
  15. # Metrics #
  16. # #
  17. ############################################################
  18. {% if matrix_rustpush_bridge_container_labels_metrics_middleware_basic_auth_enabled %}
  19. traefik.http.middlewares.matrix-rustpush-bridge-metrics-basic-auth.basicauth.users={{ matrix_rustpush_bridge_container_labels_metrics_middleware_basic_auth_users }}
  20. traefik.http.routers.matrix-rustpush-bridge-metrics.middlewares=matrix-rustpush-bridge-metrics-basic-auth
  21. {% endif %}
  22. traefik.http.routers.matrix-rustpush-bridge-metrics.rule={{ matrix_rustpush_bridge_container_labels_metrics_traefik_rule }}
  23. {% if matrix_rustpush_bridge_container_labels_metrics_traefik_priority | int > 0 %}
  24. traefik.http.routers.matrix-rustpush-bridge-metrics.priority={{ matrix_rustpush_bridge_container_labels_metrics_traefik_priority }}
  25. {% endif %}
  26. traefik.http.routers.matrix-rustpush-bridge-metrics.service=matrix-rustpush-bridge-metrics
  27. traefik.http.routers.matrix-rustpush-bridge-metrics.entrypoints={{ matrix_rustpush_bridge_container_labels_metrics_traefik_entrypoints }}
  28. traefik.http.routers.matrix-rustpush-bridge-metrics.tls={{ matrix_rustpush_bridge_container_labels_metrics_traefik_tls | to_json }}
  29. {% if matrix_rustpush_bridge_container_labels_metrics_traefik_tls %}
  30. traefik.http.routers.matrix-rustpush-bridge-metrics.tls.certResolver={{ matrix_rustpush_bridge_container_labels_metrics_traefik_tls_certResolver }}
  31. {% endif %}
  32. ############################################################
  33. # #
  34. # /Metrics #
  35. # #
  36. ############################################################
  37. {% endif %}
  38. {% endif %}
  39. {{ matrix_rustpush_bridge_container_labels_additional_labels }}