CrowdSecC
CrowdSec13mo ago
3 replies
Instant Dreams

How are docker environment variables treated in crowdsec?

I'm trying to configure a telegram notification. I am passing in the telegram bot token and telegram chat id using environment variables. According to the Notifications Environment Variables section, just using ${TELEGRAM_BOT_TOKEN} & ${TELEGRAM_CHAT_ID} should work. It doesn't, and I've logged the details in issue 3369.

Has anyone successfully passed docker environment variables into any of the crowdsec configuration yaml files?
GitHub
What happened? I have a compose.yaml file that includes a set of environment variables. Using docker compose config returns the following: name: crowdsec services: crowdsec: image: crowdsecurity/cr...
Docker Environment variables not being recognised in crowdsec confi...
Was this page helpful?