Matrix Docker Ansible eploy
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 

44 satır
2.5 KiB

  1. {#
  2. SPDX-FileCopyrightText: 2024 MDAD Team and contributors
  3. SPDX-License-Identifier: AGPL-3.0-or-later
  4. #}
  5. #jinja2: lstrip_blocks: "True"
  6. # configuration of the HTTP server
  7. http:
  8. address: 0.0.0.0 # bind address for this service. Can be left unspecified to bind on all interfaces
  9. port: {{ matrix_alertmanager_receiver_config_http_port | to_json }} # port used by this service
  10. alerts-path-prefix: {{ matrix_alertmanager_receiver_config_http_alerts_path_prefix | to_json }} # URL path for the webhook receiver called by an Alertmanager. Defaults to /alerts
  11. metrics-path: {{ matrix_alertmanager_receiver_config_http_metrics_path | to_json }} # URL path to collect metrics. Defaults to /metrics
  12. metrics-enabled: {{ matrix_alertmanager_receiver_config_http_metrics_enabled | to_json }} # Whether to enable metrics or not. Defaults to false
  13. # configuration for the Matrix connection
  14. matrix:
  15. homeserver-url: {{ matrix_alertmanager_receiver_config_matrix_homeserver_url | to_json }} # FQDN of the homeserver
  16. user-id: {{ matrix_alertmanager_receiver_config_matrix_user_id | to_json }} # ID of the user used by this service
  17. access-token: {{ matrix_alertmanager_receiver_config_matrix_access_token | to_json }} # Access token for the user ID
  18. # define short names for Matrix room ID
  19. room-mapping: {{ matrix_alertmanager_receiver_config_matrix_room_mapping | to_json }}
  20. # configuration of the templating features
  21. templating:
  22. # mapping of ExternalURL values
  23. # key is the original value taken from the Alertmanager payload
  24. # value is the mapped value which will be available as '.ExternalURL' in templates
  25. external-url-mapping: {{ matrix_alertmanager_receiver_config_templating_external_url_mapping | to_json }}
  26. # mapping of GeneratorURL values
  27. # key is the original value taken from the Alertmanager payload
  28. # value is the mapped value which will be available as '.GeneratorURL' in templates
  29. generator-url-mapping: {{ matrix_alertmanager_receiver_config_templating_generator_url_mapping | to_json }}
  30. # computation of arbitrary values based on matching alert annotations, labels, or status
  31. # values will be evaluated top to bottom, last entry wins
  32. computed-values: {{ matrix_alertmanager_receiver_config_templating_computed_values | to_json }}
  33. # template for alerts in status 'firing'
  34. firing-template: {{ matrix_alertmanager_receiver_config_templating_firing_template | to_json }}
  35. # template for alerts in status 'resolved', if not specified will use the firing-template
  36. resolved-template: {{ matrix_alertmanager_receiver_config_templating_resolved_template | to_json }}