Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

37 lines
1.9 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. {#
  7. Start of public
  8. #}
  9. {% if matrix_appservice_webhooks_container_labels_public_endpoint_enabled %}
  10. traefik.http.middlewares.matrix-appservice-webhooks-public-strip-prefix.stripprefix.prefixes={{ matrix_appservice_webhooks_container_labels_public_endpoint_prefix }}
  11. traefik.http.routers.matrix-appservice-webhooks-public.rule={{ matrix_appservice_webhooks_container_labels_public_endpoint_traefik_rule }}
  12. traefik.http.routers.matrix-appservice-webhooks-public.middlewares=matrix-appservice-webhooks-public-strip-prefix
  13. {% if matrix_appservice_webhooks_container_labels_public_endpoint_traefik_priority | int > 0 %}
  14. traefik.http.routers.matrix-appservice-webhooks-public.priority={{ matrix_appservice_webhooks_container_labels_public_endpoint_traefik_priority }}
  15. {% endif %}
  16. traefik.http.routers.matrix-appservice-webhooks-public.service=matrix-appservice-webhooks
  17. traefik.http.routers.matrix-appservice-webhooks-public.entrypoints={{ matrix_appservice_webhooks_container_labels_public_endpoint_traefik_entrypoints }}
  18. traefik.http.routers.matrix-appservice-webhooks-public.tls={{ matrix_appservice_webhooks_container_labels_public_endpoint_traefik_tls | to_json }}
  19. {% if matrix_appservice_webhooks_container_labels_public_endpoint_traefik_tls %}
  20. traefik.http.routers.matrix-appservice-webhooks-public.tls.certResolver={{ matrix_appservice_webhooks_container_labels_public_endpoint_traefik_tls_certResolver }}
  21. {% endif %}
  22. traefik.http.services.matrix-appservice-webhooks.loadbalancer.server.port={{ matrix_appservice_webhooks_matrix_port }}
  23. {% endif %}
  24. {#
  25. /End of public
  26. #}
  27. {% endif %}
  28. {{ matrix_appservice_webhooks_container_labels_additional_labels }}