[flex/2.4] Add missing .env.dev file (#1367)

This commit is contained in:
Nicolas Grekas
2024-12-04 11:55:24 +01:00
committed by GitHub
parent c976fefdd8
commit dc8a1b5097
3 changed files with 21 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
# In all environments, the following files are loaded if they exist,
# the latter taking precedence over the former:
#
# * .env contains default values for the environment variables needed by the app
# * .env.local uncommitted file with local overrides
# * .env.$APP_ENV committed environment-specific defaults
# * .env.$APP_ENV.local uncommitted environment-specific overrides
#
# Real environment variables win over .env files.
#
# DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.
# https://symfony.com/doc/current/configuration/secrets.html
#
# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration
View File
+6
View File
@@ -0,0 +1,6 @@
{
"copy-from-recipe": {
".env": ".env",
".env.dev": ".env.dev"
}
}