12factor icon indicating copy to clipboard operation
12factor copied to clipboard

config: methods to achieve 12factor-ness?

Open dpkirchner opened this issue 11 years ago • 1 comments

I like what I have read on the 12factor.net site but one concept in particular stands out as unclear, perhaps incomplete: config.

The site recommends using individual environment variables instead of sets of environment variables grouped in to environments (e.g. production, staging). However, the site also recommends that the development and production environments be kept as similar as is possible, suggesting that there must be some mechanism keeping at least the variable names in sync, if not the values, for consistent development environments. These two recommendations seem to be in conflict, or at least one could be clarified to support the other.

Are there practical examples demonstrating a way to manage environment variables without them being grouped in to environments or files that may inadvertently be committed to VCS?

dpkirchner avatar Feb 16 '14 16:02 dpkirchner

+1. That's very interesting point - I made a question on Programmes.SE about that, but didn't get sufficiently sane answers yet.

Rogach avatar May 14 '15 13:05 Rogach