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.
 
 

72 líneas
3.5 KiB

  1. {% if matrix_corporal_container_labels_traefik_enabled %}
  2. traefik.enable=true
  3. {% if matrix_corporal_container_labels_traefik_docker_network %}
  4. traefik.docker.network={{ matrix_corporal_container_labels_traefik_docker_network }}
  5. {% endif %}
  6. traefik.http.services.matrix-corporal-api.loadbalancer.server.port=41081
  7. traefik.http.services.matrix-corporal-gateway.loadbalancer.server.port=41080
  8. {% if matrix_corporal_container_labels_api_enabled %}
  9. ############################################################
  10. # #
  11. # Corporal API (/_matrix/corporal) #
  12. # #
  13. ############################################################
  14. traefik.http.routers.matrix-corporal-api.rule={{ matrix_corporal_container_labels_api_traefik_rule }}
  15. {% if matrix_corporal_container_labels_api_traefik_priority | int > 0 %}
  16. traefik.http.routers.matrix-corporal-api.priority={{ matrix_corporal_container_labels_api_traefik_priority }}
  17. {% endif %}
  18. traefik.http.routers.matrix-corporal-api.service=matrix-corporal-api
  19. traefik.http.routers.matrix-corporal-api.entrypoints={{ matrix_corporal_container_labels_api_traefik_entrypoints }}
  20. traefik.http.routers.matrix-corporal-api.tls={{ matrix_corporal_container_labels_api_traefik_tls | to_json }}
  21. {% if matrix_corporal_container_labels_api_traefik_tls %}
  22. traefik.http.routers.matrix-corporal-api.tls.certResolver={{ matrix_corporal_container_labels_api_traefik_tls_certResolver }}
  23. {% endif %}
  24. ############################################################
  25. # #
  26. # /Corporal API (/_matrix/corporal) #
  27. # #
  28. ############################################################
  29. {% endif %}
  30. {% if matrix_corporal_container_labels_matrix_client_api_enabled %}
  31. ############################################################
  32. # #
  33. # Matrix Client-Server API (/_matrix) #
  34. # #
  35. ############################################################
  36. traefik.http.routers.matrix-corporal-matrix-client-api.rule={{ matrix_corporal_container_labels_matrix_client_api_traefik_rule }}
  37. {% if matrix_corporal_container_labels_matrix_client_api_traefik_priority | int > 0 %}
  38. traefik.http.routers.matrix-corporal-matrix-client-api.priority={{ matrix_corporal_container_labels_matrix_client_api_traefik_priority }}
  39. {% endif %}
  40. traefik.http.routers.matrix-corporal-matrix-client-api.service=matrix-corporal-gateway
  41. traefik.http.routers.matrix-corporal-matrix-client-api.entrypoints={{ matrix_corporal_container_labels_matrix_client_api_traefik_entrypoints }}
  42. traefik.http.routers.matrix-corporal-matrix-client-api.tls={{ matrix_corporal_container_labels_matrix_client_api_traefik_tls | to_json }}
  43. {% if matrix_corporal_container_labels_matrix_client_api_traefik_tls %}
  44. traefik.http.routers.matrix-corporal-matrix-client-api.tls.certResolver={{ matrix_corporal_container_labels_matrix_client_api_traefik_tls_certResolver }}
  45. {% endif %}
  46. ############################################################
  47. # #
  48. # /Matrix Client-Server API (/_matrix) #
  49. # #
  50. ############################################################
  51. {% endif %}
  52. {% endif %}
  53. {{ matrix_corporal_container_labels_additional_labels }}