News for hackers. Stuff that matters.
Re:Don’t use environment variables for configuration by mdpopescu on Thursday April 01, 2021 @08:56AM (#26659856)
There are a lot of use cases. For example, I have 17 applications running on a system that need a connection string. When I need to change that connection string, I can 1) change 17 config files; 2) change 17 shortcuts containing command-line arguments; 3) change one env variable.
Re:Don’t use environment variables for configuration by q3k on Thursday April 01, 2021 @09:07AM (#26659981)
> I can 1) change 17 config files; 2) change 17 shortcuts containing command-line arguments; 3) change one env variable.

This seems like forcing the application to take the burden of your configuration system having shortcomings (like not being able to freely convert from a single source of truth into multiple generated files/command lines/...).

Re:Don’t use environment variables for configuration by zabzonk on Thursday April 01, 2021 @09:09AM (#26660004)
Or change ONE file that contains the connection string.