prometheus / alertmanager

Prometheus Alertmanager
https://prometheus.io
Apache License 2.0
6.67k stars 2.16k forks source link

Handle envirement var in alertmanager/config.yml #2917

Open KoVaLsKy2010 opened 2 years ago

KoVaLsKy2010 commented 2 years ago

handle envirement vars *.yml files dose not handle envirement from docker

Environment

alertmanager:
        image: prom/alertmanager
        ports:
            - 9093:9093
        environment:
            - TELEGRAM_ADMIN=12345
            - TELEGRAM_TOKEN='123456:ASDFGH-:LKHHGFGD-WERWERWER'
splitt3r commented 2 years ago

Duplicate of https://github.com/prometheus/alertmanager/issues/504

https://github.com/prometheus/alertmanager/issues/2498 tries to solve the problem with secret files