Improvement/Crowdsec & cscli : support configuration from environment variables
Following this post, it's maybe a good idea to support crowdsec configuration from environment variables.
Describe the solution you'd like
we can get all env vars that matches CROWDSEC_* and the format would be something like :
CROWDSEC_SECTIONNAME_VARNAME
So we will be able to overwrite crowdsec and cscli configurations and especially for container environments.
We already have environment variable settings in crowdsec (see here).
But we still need work on the config file so we'll have standard environment variables also can be used in the docker image.
Think also of using a default values, in case the env get lost or missing… Just an advice, in case of…
Following this post, it's maybe a good idea to support crowdsec configuration from environment variables.
Describe the solution you'd like we can get all env vars that matches
CROWDSEC_*and the format would be something like :
CROWDSEC_SECTIONNAME_VARNAMESo we will be able to overwrite crowdsec and cscli configurations and especially for container environments.
Was this ever added?