Migrate Prometheus alertbot to Matrix
This commit is contained in:
parent
1abc672e30
commit
cb823d84d7
3 changed files with 12 additions and 6 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -1,3 +1,6 @@
|
||||||
[submodule "kanbot"]
|
[submodule "kanbot"]
|
||||||
path = kanbot
|
path = kanbot
|
||||||
url = https://gitea.auro.re/aurore/kanbot
|
url = https://gitea.auro.re/aurore/kanbot
|
||||||
|
[submodule "alertbot"]
|
||||||
|
path = alertbot
|
||||||
|
url = https://gitea.auro.re/aurore/alertbot
|
||||||
|
|
1
alertbot
Submodule
1
alertbot
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit c24d9d6953293906141b4d72f7a60882509e2431
|
|
@ -125,15 +125,17 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- 9005:9005
|
- 9005:9005
|
||||||
|
|
||||||
|
alertbot:
|
||||||
|
build: alertbot
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- ./alertbot_config/config.yaml:/var/www/alertbot/config.yaml:ro
|
||||||
|
|
||||||
prometheus-alertmanager:
|
prometheus-alertmanager:
|
||||||
build: prometheus-alertmanager
|
build: prometheus-alertmanager
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 9093:9093
|
- 9093:9093
|
||||||
|
depends_on:
|
||||||
prometheus-alertmanager-discord:
|
- alertbot
|
||||||
build: prometheus-alertmanager-discord
|
|
||||||
restart: always
|
|
||||||
environment:
|
|
||||||
DISCORD_WEBHOOK: "${PROMETHEUS_DISCORD_WEBHOOK}"
|
|
||||||
...
|
...
|
||||||
|
|
Loading…
Reference in a new issue