Added alertmanager-bot

This commit is contained in:
digitalstudium 2021-08-06 21:30:10 +03:00
parent 1cd2337453
commit d374a3af1f
1 changed files with 15 additions and 1 deletions

View File

@ -24,8 +24,20 @@ services:
ports: ports:
- "9093:9093" - "9093:9093"
volumes: volumes:
- alert-data:/alertmanager
- alert-configs:/etc/alertmanager - alert-configs:/etc/alertmanager
alertmanager-bot:
image: metalmatze/alertmanager-bot:0.4.3
environment:
TELEGRAM_ADMIN: "<user_id>"
TELEGRAM_TOKEN: "<bot_id>"
ALERTMANAGER_URL: http://alertmanager:9093
STORE: bolt
BOLT_PATH: /data/bot.db
volumes:
- alert-bot-data:/data
node-exporter: node-exporter:
image: prom/node-exporter:v1.2.0 image: prom/node-exporter:v1.2.0
ports: ports:
@ -45,4 +57,6 @@ volumes:
grafana-configs: grafana-configs:
prom-data: prom-data:
prom-configs: prom-configs:
alert-configs: alert-data:
alert-configs:
alert-bot-data: