Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
docs(devops): read the Slack webhook URL from a file in Alertmanager
Yudhi Armyndharisf7df50df877e
diff --git a/docs/10-devops-infrastructure.md b/docs/10-devops-infrastructure.mdindex b97556c6f..8806db7df 100644--- a/docs/10-devops-infrastructure.md+++ b/docs/10-devops-infrastructure.md@@ -666,6 +666,8 @@ services:image: prom/alertmanager:v0.26.0volumes:- ./monitoring/alertmanager.yml:/etc/alertmanager/alertmanager.yml+ # Holds the Slack webhook URL; see the Alertmanager config below+ - ./monitoring/slack_webhook_url:/etc/alertmanager/slack_webhook_url:roports:- '127.0.0.1:9093:9093'restart: unless-stopped@@ -795,7 +797,8 @@ groups:# monitoring/alertmanager.ymlglobal:resolve_timeout: 5m- slack_api_url: '${SLACK_WEBHOOK_URL}'+ # Alertmanager does not expand env vars in its config, so mount the webhook URL as a file.+ slack_api_url_file: /etc/alertmanager/slack_webhook_urlroute:group_by: ['alertname', 'severity']