Configure prometheus alert manager with Slack notifications

This commit is contained in:
2024-05-31 20:22:25 +05:30
parent ed8914b8d3
commit b036e26087
4 changed files with 36 additions and 2 deletions
@@ -18,6 +18,14 @@ services:
extra_hosts:
- "host.docker.internal:host-gateway"
alert-manager:
image: prom/alertmanager
volumes:
- ../config/monitoring/alertmanager/alertmanager.yml:/etc/alertmanager/alertmanager.yml
- alertmanager_data:/data
ports:
- "9093"
blackbox:
image: prom/blackbox-exporter:latest
restart: always
@@ -55,3 +63,4 @@ services:
volumes:
prometheus_data:
alertmanager_data: