]> Raphaƫl G. Git Repositories - blog/blob - .env
Set default env
[blog] / .env
1 # In all environments, the following files are loaded if they exist,
2 # the latter taking precedence over the former:
3 #
4 # * .env contains default values for the environment variables needed by the app
5 # * .env.local uncommitted file with local overrides
6 # * .env.$APP_ENV committed environment-specific defaults
7 # * .env.$APP_ENV.local uncommitted environment-specific overrides
8 #
9 # Real environment variables win over .env files.
10 #
11 # DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.
12 # https://symfony.com/doc/current/configuration/secrets.html
13 #
14 # Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
15 # https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration
16
17 ###> symfony/framework-bundle ###
18 APP_ENV=dev
19 APP_SECRET=Ch4ng3m3!
20 ###< symfony/framework-bundle ###