Migrate Prometheus alertbot to Matrix

This commit is contained in:
root 2021-12-20 11:48:11 +01:00
parent 1abc672e30
commit cb823d84d7
3 changed files with 12 additions and 6 deletions

3
.gitmodules vendored
View file

@ -1,3 +1,6 @@
[submodule "kanbot"]
path = kanbot
url = https://gitea.auro.re/aurore/kanbot
[submodule "alertbot"]
path = alertbot
url = https://gitea.auro.re/aurore/alertbot

1
alertbot Submodule

@ -0,0 +1 @@
Subproject commit c24d9d6953293906141b4d72f7a60882509e2431

View file

@ -125,15 +125,17 @@ services:
ports:
- 9005:9005
alertbot:
build: alertbot
restart: always
volumes:
- ./alertbot_config/config.yaml:/var/www/alertbot/config.yaml:ro
prometheus-alertmanager:
build: prometheus-alertmanager
restart: always
ports:
- 9093:9093
prometheus-alertmanager-discord:
build: prometheus-alertmanager-discord
restart: always
environment:
DISCORD_WEBHOOK: "${PROMETHEUS_DISCORD_WEBHOOK}"
depends_on:
- alertbot
...