Matrix Docker Ansible eploy
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 

74 wiersze
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. {% if matrix_corporal_container_labels_api_enabled %}
  7. ############################################################
  8. # #
  9. # Corporal API (/_matrix/corporal) #
  10. # #
  11. ############################################################
  12. traefik.http.services.matrix-corporal-api.loadbalancer.server.port=41081
  13. traefik.http.routers.matrix-corporal-api.rule={{ matrix_corporal_container_labels_api_traefik_rule }}
  14. {% if matrix_corporal_container_labels_api_traefik_priority | int > 0 %}
  15. traefik.http.routers.matrix-corporal-api.priority={{ matrix_corporal_container_labels_api_traefik_priority }}
  16. {% endif %}
  17. traefik.http.routers.matrix-corporal-api.service=matrix-corporal-api
  18. traefik.http.routers.matrix-corporal-api.entrypoints={{ matrix_corporal_container_labels_api_traefik_entrypoints }}
  19. traefik.http.routers.matrix-corporal-api.tls={{ matrix_corporal_container_labels_api_traefik_tls | to_json }}
  20. {% if matrix_corporal_container_labels_api_traefik_tls %}
  21. traefik.http.routers.matrix-corporal-api.tls.certResolver={{ matrix_corporal_container_labels_api_traefik_tls_certResolver }}
  22. {% endif %}
  23. ############################################################
  24. # #
  25. # /Corporal API (/_matrix/corporal) #
  26. # #
  27. ############################################################
  28. {% endif %}
  29. {% if matrix_corporal_container_labels_matrix_client_api_enabled %}
  30. ############################################################
  31. # #
  32. # Matrix Client-Server API (/_matrix) #
  33. # #
  34. ############################################################
  35. traefik.http.services.matrix-corporal-gateway.loadbalancer.server.port=41080
  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 }}