diff --git a/.gitmodules b/.gitmodules index 3923045..ab3671d 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 diff --git a/alertbot b/alertbot new file mode 160000 index 0000000..c24d9d6 --- /dev/null +++ b/alertbot @@ -0,0 +1 @@ +Subproject commit c24d9d6953293906141b4d72f7a60882509e2431 diff --git a/docker-compose.yml b/docker-compose.yml index 29aefc0..a146739 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 ...