Open KoVaLsKy2010 opened 2 years ago
handle envirement vars *.yml files dose not handle envirement from docker
Environment
receivers: - name: 'telegram' telegram_configs: - send_resolved: true api_url: 'https://api.telegram.org' bot_token: '123456:ASDFGH-:LKHHGFGD-WERWERWER' chat_id: 12345 parse_mode: 'Markdown'
For example
receivers: - name: 'telegram' telegram_configs: - send_resolved: true api_url: 'https://api.telegram.org' bot_token: ${TELEGRAM_TOKEN} chat_id: ${TELEGRAM_ADMIN} parse_mode: 'Markdown'
docker-compose.yml
alertmanager: image: prom/alertmanager ports: - 9093:9093 environment: - TELEGRAM_ADMIN=12345 - TELEGRAM_TOKEN='123456:ASDFGH-:LKHHGFGD-WERWERWER'
Duplicate of https://github.com/prometheus/alertmanager/issues/504
https://github.com/prometheus/alertmanager/issues/2498 tries to solve the problem with secret files
handle envirement vars *.yml files dose not handle envirement from docker
Environment
For example
docker-compose.yml