Skip to content

Commit 3a5c137

Browse files
authored
Add note about .env.local being ignored in test environment
1 parent 99ac313 commit 3a5c137

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

configuration.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,11 @@ the only mandatory file and each file content overrides the previous one:
627627
env vars overrides only for some environment. It's similar to ``.env.local``,
628628
but the overrides only apply to some particular environment.
629629

630+
.. note::
631+
632+
``.env.local`` is always ignored in test environment. The logic is that
633+
tests should always produce the same results for everyone.
634+
630635
.. note::
631636

632637
The real environment variables defined in the server always win over the

0 commit comments

Comments
 (0)