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

52 строки
2.4 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_bridge_rustpush_container_labels_traefik_enabled %}
  7. traefik.enable=true
  8. {% if matrix_bridge_rustpush_container_labels_traefik_docker_network %}
  9. traefik.docker.network={{ matrix_bridge_rustpush_container_labels_traefik_docker_network }}
  10. {% endif %}
  11. traefik.http.services.matrix-rustpush-bridge.loadbalancer.server.port=8081
  12. {% if matrix_bridge_rustpush_container_labels_exposure_enabled %}
  13. ############################################################
  14. # #
  15. # Bridge API exposure #
  16. # #
  17. ############################################################
  18. traefik.http.middlewares.matrix-rustpush-bridge-exposure-strip-prefix.stripprefix.prefixes={{ matrix_bridge_rustpush_exposure_path_prefix }}
  19. traefik.http.routers.matrix-rustpush-bridge-exposure.middlewares=matrix-rustpush-bridge-exposure-strip-prefix
  20. traefik.http.routers.matrix-rustpush-bridge-exposure.rule={{ matrix_bridge_rustpush_container_labels_exposure_traefik_rule }}
  21. {% if matrix_bridge_rustpush_container_labels_exposure_traefik_priority | int > 0 %}
  22. traefik.http.routers.matrix-rustpush-bridge-exposure.priority={{ matrix_bridge_rustpush_container_labels_exposure_traefik_priority }}
  23. {% endif %}
  24. traefik.http.routers.matrix-rustpush-bridge-exposure.service=matrix-rustpush-bridge
  25. traefik.http.routers.matrix-rustpush-bridge-exposure.entrypoints={{ matrix_bridge_rustpush_container_labels_exposure_traefik_entrypoints }}
  26. traefik.http.routers.matrix-rustpush-bridge-exposure.tls={{ matrix_bridge_rustpush_container_labels_exposure_traefik_tls | to_json }}
  27. {% if matrix_bridge_rustpush_container_labels_exposure_traefik_tls %}
  28. traefik.http.routers.matrix-rustpush-bridge-exposure.tls.certResolver={{ matrix_bridge_rustpush_container_labels_exposure_traefik_tls_certResolver }}
  29. {% endif %}
  30. ############################################################
  31. # #
  32. # /Bridge API exposure #
  33. # #
  34. ############################################################
  35. {% endif %}
  36. {% endif %}
  37. {{ matrix_bridge_rustpush_container_labels_additional_labels }}