12.1 Factor Apps: Config


Episode Artwork
1.0x
0% played 00:00 00:00
May 04 2020 8 mins   10

The 12 factor app states that applications should read config from environment variables. It implies separation of code and config. That’s about it, but there’s good bones here. I want something bigger from this factor. Specifically that applications may be deployed to new environments without any code changes. This requires a few additions:

  1. Configure the process through command options and environment variables
  2. Prefer explicit configuration over implicit configuration
  3. Use a dry run option to verify config sanity
  4. Fail fast on any configuration error

Mentioned in Show

Resources

Books

★ Support this podcast on Patreon ★