diff --git a/docker-compose.yml b/docker-compose.yml index ee61c20..024c1b0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -24,8 +24,20 @@ services: ports: - "9093:9093" volumes: + - alert-data:/alertmanager - alert-configs:/etc/alertmanager + alertmanager-bot: + image: metalmatze/alertmanager-bot:0.4.3 + environment: + TELEGRAM_ADMIN: "" + TELEGRAM_TOKEN: "" + ALERTMANAGER_URL: http://alertmanager:9093 + STORE: bolt + BOLT_PATH: /data/bot.db + volumes: + - alert-bot-data:/data + node-exporter: image: prom/node-exporter:v1.2.0 ports: @@ -45,4 +57,6 @@ volumes: grafana-configs: prom-data: prom-configs: - alert-configs: \ No newline at end of file + alert-data: + alert-configs: + alert-bot-data: \ No newline at end of file