Symfony recipe and .env.local #2587
Unanswered
SiMoSiMo2
asked this question in
Help needed
Replies: 1 comment 4 replies
-
Hi @SiMoSiMo2 and thanks for your comment! The idea and concept is, that you version a .env with some default/example configuration and overwrite everything with But you want to overwrite on the server as well and there is only two types of files on the server:
So I'm not into pure symfony, but I assume (correct me if I'm wrong): if you don't add anything to the file, your I hope this answers your question! |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I'm a bit confused.
The
.env.local
file is used to locally override the values of the.env
file. The.env.local
file is added to the.gitignore
because I want it to stay local and not versioned.Why then is it added by default to the Symfony recipe and therefore I also find it on the production server after doing a release with deployer?
The file should remain local, because that's what it is for.
deployer/recipe/symfony.php
Line 20 in 88f6e42
Beta Was this translation helpful? Give feedback.
All reactions