Matrix Docker Ansible eploy
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 

51 řádky
2.5 KiB

  1. {#
  2. SPDX-FileCopyrightText: 2024 Slavi Pantaleev
  3. SPDX-License-Identifier: AGPL-3.0-or-later
  4. #}
  5. {% if matrix_appservice_webhooks_container_labels_traefik_enabled %}
  6. traefik.enable=true
  7. {% if matrix_appservice_webhooks_container_labels_traefik_docker_network %}
  8. traefik.docker.network={{ matrix_appservice_webhooks_container_labels_traefik_docker_network }}
  9. {% endif %}
  10. traefik.http.services.matrix-appservice-webhooks.loadbalancer.server.port={{ matrix_appservice_webhooks_matrix_port }}
  11. {% if matrix_appservice_webhooks_container_labels_public_endpoint_enabled %}
  12. ############################################################
  13. # #
  14. # Public #
  15. # #
  16. ############################################################
  17. traefik.http.middlewares.matrix-appservice-webhooks-public-strip-prefix.stripprefix.prefixes={{ matrix_appservice_webhooks_container_labels_public_endpoint_prefix }}
  18. traefik.http.routers.matrix-appservice-webhooks-public.rule={{ matrix_appservice_webhooks_container_labels_public_endpoint_traefik_rule }}
  19. traefik.http.routers.matrix-appservice-webhooks-public.middlewares=matrix-appservice-webhooks-public-strip-prefix
  20. {% if matrix_appservice_webhooks_container_labels_public_endpoint_traefik_priority | int > 0 %}
  21. traefik.http.routers.matrix-appservice-webhooks-public.priority={{ matrix_appservice_webhooks_container_labels_public_endpoint_traefik_priority }}
  22. {% endif %}
  23. traefik.http.routers.matrix-appservice-webhooks-public.service=matrix-appservice-webhooks
  24. traefik.http.routers.matrix-appservice-webhooks-public.entrypoints={{ matrix_appservice_webhooks_container_labels_public_endpoint_traefik_entrypoints }}
  25. traefik.http.routers.matrix-appservice-webhooks-public.tls={{ matrix_appservice_webhooks_container_labels_public_endpoint_traefik_tls | to_json }}
  26. {% if matrix_appservice_webhooks_container_labels_public_endpoint_traefik_tls %}
  27. traefik.http.routers.matrix-appservice-webhooks-public.tls.certResolver={{ matrix_appservice_webhooks_container_labels_public_endpoint_traefik_tls_certResolver }}
  28. {% endif %}
  29. ############################################################
  30. # #
  31. # /Public #
  32. # #
  33. ############################################################
  34. {% endif %}
  35. {% endif %}
  36. {{ matrix_appservice_webhooks_container_labels_additional_labels }}