News for hackers. Stuff that matters.
Re:The Twelve-Factor App by rbanffy on Thursday October 12, 2023 @01:31PM (#37860208)
"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.

Re:The Twelve-Factor App by Kwpolska on Thursday October 12, 2023 @01:32PM (#37860232)
The page https://12factor.net/config disagrees with you:

> The twelve-factor app stores config in environment variables (often shortened to env vars or env).

Re:The Twelve-Factor App by rbanffy on Thursday October 12, 2023 @01:35PM (#37860285)
I would assume that is the interpretation back in 2011. While the mechanism changed, the principle still holds.