Matrix Docker Ansible eploy
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 

77 lignes
4.2 KiB

  1. {% if matrix_mautrix_googlechat_container_labels_traefik_enabled %}
  2. traefik.enable=true
  3. {% if matrix_mautrix_googlechat_container_labels_traefik_docker_network %}
  4. traefik.docker.network={{ matrix_mautrix_googlechat_container_labels_traefik_docker_network }}
  5. {% endif %}
  6. traefik.http.services.matrix-mautrix-googlechat-public.loadbalancer.server.port=8080
  7. traefik.http.services.matrix-mautrix-googlechat-metrics.loadbalancer.server.port=8000
  8. {% if matrix_mautrix_googlechat_container_labels_public_endpoint_enabled %}
  9. ############################################################
  10. # #
  11. # Public #
  12. # #
  13. ############################################################
  14. traefik.http.routers.matrix-mautrix-googlechat-public.rule={{ matrix_mautrix_googlechat_container_labels_public_endpoint_traefik_rule }}
  15. {% if matrix_mautrix_googlechat_container_labels_public_endpoint_traefik_priority | int > 0 %}
  16. traefik.http.routers.matrix-mautrix-googlechat-public.priority={{ matrix_mautrix_googlechat_container_labels_public_endpoint_traefik_priority }}
  17. {% endif %}
  18. traefik.http.routers.matrix-mautrix-googlechat-public.service=matrix-mautrix-googlechat-public
  19. traefik.http.routers.matrix-mautrix-googlechat-public.entrypoints={{ matrix_mautrix_googlechat_container_labels_public_endpoint_traefik_entrypoints }}
  20. traefik.http.routers.matrix-mautrix-googlechat-public.tls={{ matrix_mautrix_googlechat_container_labels_public_endpoint_traefik_tls | to_json }}
  21. {% if matrix_mautrix_googlechat_container_labels_public_endpoint_traefik_tls %}
  22. traefik.http.routers.matrix-mautrix-googlechat-public.tls.certResolver={{ matrix_mautrix_googlechat_container_labels_public_endpoint_traefik_tls_certResolver }}
  23. {% endif %}
  24. ############################################################
  25. # #
  26. # /Public #
  27. # #
  28. ############################################################
  29. {% endif %}
  30. {% if matrix_mautrix_googlechat_container_labels_metrics_enabled %}
  31. ############################################################
  32. # #
  33. # Metrics #
  34. # #
  35. ############################################################
  36. {% if matrix_mautrix_googlechat_container_labels_metrics_middleware_basic_auth_enabled %}
  37. traefik.http.middlewares.matrix-mautrix-googlechat-metrics-basic-auth.basicauth.users={{ matrix_mautrix_googlechat_container_labels_metrics_middleware_basic_auth_users }}
  38. traefik.http.routers.matrix-mautrix-googlechat-metrics.middlewares=matrix-mautrix-googlechat-metrics-basic-auth
  39. {% endif %}
  40. traefik.http.routers.matrix-mautrix-googlechat-metrics.rule={{ matrix_mautrix_googlechat_container_labels_metrics_traefik_rule }}
  41. {% if matrix_mautrix_googlechat_container_labels_metrics_traefik_priority | int > 0 %}
  42. traefik.http.routers.matrix-mautrix-googlechat-metrics.priority={{ matrix_mautrix_googlechat_container_labels_metrics_traefik_priority }}
  43. {% endif %}
  44. traefik.http.routers.matrix-mautrix-googlechat-metrics.service=matrix-mautrix-googlechat-metrics
  45. traefik.http.routers.matrix-mautrix-googlechat-metrics.entrypoints={{ matrix_mautrix_googlechat_container_labels_metrics_traefik_entrypoints }}
  46. traefik.http.routers.matrix-mautrix-googlechat-metrics.tls={{ matrix_mautrix_googlechat_container_labels_metrics_traefik_tls | to_json }}
  47. {% if matrix_mautrix_googlechat_container_labels_metrics_traefik_tls %}
  48. traefik.http.routers.matrix-mautrix-googlechat-metrics.tls.certResolver={{ matrix_mautrix_googlechat_container_labels_metrics_traefik_tls_certResolver }}
  49. {% endif %}
  50. ############################################################
  51. # #
  52. # /Metrics #
  53. # #
  54. ############################################################
  55. {% endif %}
  56. {% endif %}
  57. {{ matrix_mautrix_googlechat_container_labels_additional_labels }}