new: add Alertmanager

This commit is contained in:
2024-06-07 20:27:52 +00:00
parent 24bb0cc05b
commit ff4c81f9f5
2 changed files with 138 additions and 0 deletions

16
alertmanager/compose.yaml Normal file
View File

@@ -0,0 +1,16 @@
services:
alertmanager:
container_name: alertmanager
image: quay.io/prometheus/alertmanager
restart: unless-stopped
volumes:
- ./appconf/alertmanager.yml:/etc/alertmanager/alertmanager.yml
networks:
- monitoring
labels:
# Diun
diun.enable: true
networks:
monitoring:
external: true