prometheus: add support for installing webhook server

This commit is contained in:
uumas
2023-12-21 01:22:26 +02:00
parent 0eeeecb549
commit 681b788ac4
4 changed files with 66 additions and 0 deletions

View File

@@ -31,6 +31,20 @@
- name: prometheus
when: prometheus_install_alertmanager
- name: Webhook container for prometheus
include_role:
name: container
vars:
docker_service: prometheus_webhook
docker_image: thecatlady/webhook
reverse_proxy_type: none
docker_mounts:
- template: webhooks.yaml
path: /config/hooks.yml
docker_networks:
- name: prometheus
when: prometheus_install_webhook
- name: Grafana container for prometheus
include_role:
name: grafana