3 ms·
"Store config in the environment" does not necessarily mean configs are in environment variables - it only means configuration comes from the hosting environmen
by rbanffy 3y ago
"Store config in the environment" does not necessarily mean configs are in environment variables - it only means configuration comes from the hosting environment, not the application itself - you are not adding a "settings.json" file to your machine before starting the app.
This way, the same source deployed in, i.e. your AKS cluster in Azure EU north will take the configuration you set for that cluster while the one you run out of an Docker Swarm of RPi Zero's in an Ikea photo frame (I have one cluster like that, called Gibson), will take the configuration from that cluster.
- Kwpolska 3y agoThe page https://12factor.net/config https://12factor.net/config disagrees with you: > The twelve-factor app stores config in environment variables (often shortened to env vars or env).
- rbanffy 3y agoI would assume that is the interpretation back in 2011. While the mechanism changed, the principle still holds.