Skip to content

Commit 9324819

Browse files
committed
minor #16484 [Config] Suggest avoiding new environments (runephilosof-abtion)
This PR was submitted for the 6.0 branch but it was squashed and merged into the 4.4 branch instead. Discussion ---------- [Config] Suggest avoiding new environments Inspired by https://12factor.net/config Commits ------- de68147 [Config] Suggest avoiding new environments
2 parents ac13f6e + de68147 commit 9324819

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

configuration.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,10 @@ going to production:
464464
It's common for environments to be similar to each other, so you can
465465
use `symbolic links`_ between ``config/packages/<environment-name>/``
466466
directories to reuse the same configuration.
467+
468+
There are benefits to separating configuration from code. So try to avoid
469+
creating new environments and instead set environment variables.
470+
This way it is easy to add another environment for staging/qa/review applications.
467471

468472
.. _config-env-vars:
469473

0 commit comments

Comments
 (0)