Skip to content

Commit 1a6da98

Browse files
Suggest avoiding new environments
Inspired by https://12factor.net/config
1 parent 744065c commit 1a6da98

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
@@ -544,6 +544,10 @@ going to production:
544544
It's common for environments to be similar to each other, so you can
545545
use `symbolic links`_ between ``config/packages/<environment-name>/``
546546
directories to reuse the same configuration.
547+
548+
There are benefits to separating configuration from code. So try to avoid
549+
creating new environments and instead set environment variables.
550+
This way it is easy to add another environment for staging/qa/review apps.
547551

548552
.. _config-env-vars:
549553

0 commit comments

Comments
 (0)