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.
 
 

38 lines
2.4 KiB

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