Matrix Docker Ansible eploy
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 

45 líneas
2.4 KiB

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