alertmanager: give Alertmanager a persistent storage directory

This commit is contained in:
June 2024-10-02 03:43:22 +02:00
parent 30876f821c
commit 61edc3587f
Signed by: june
SSH key fingerprint: SHA256:o9EAq4Y9N9K0pBQeBTqhSDrND5E7oB+60ZNx0U1yPe0

View file

@ -25,6 +25,7 @@ services:
volumes: volumes:
- ./configs/alertmanager.yaml:/etc/alertmanager/alertmanager.yaml - ./configs/alertmanager.yaml:/etc/alertmanager/alertmanager.yaml
- ./configs/alertmanager_alert_templates.tmpl:/etc/alertmanager/templates/alert_templates.tmpl - ./configs/alertmanager_alert_templates.tmpl:/etc/alertmanager/templates/alert_templates.tmpl
- alertmanager_data:/alertmanager
grafana: grafana:
image: grafana/grafana image: grafana/grafana
@ -57,3 +58,4 @@ services:
volumes: volumes:
graf_data: {} graf_data: {}
prom_data: {} prom_data: {}
alertmanager_data: {}