Open lxe opened 8 years ago
This is avoided by design. favor command line flags over environment variables.
Also CC's env loader doesn't do nested config... Also why do we favor command line parameters over environment variables?
@Raynos the cons...
hard to use correctly because they're visible (delete-able, set-able) from anywhere. If I install a new program that relies on environmental variables, are they going to stomp on my existing ones? Did I inadvertently screw up my environmental variables when I was monkeying around yesterday?
...disappear completely when you use docker. In fact I think all runtime config can be replaced with env variables and passed into the docker containers by the orchestrator.
Add ability to load config from environment variables, like in https://github.com/dominictarr/config-chain example.