1 # In all environments, the following files are loaded if they exist,
2 # the latter taking precedence over the former:
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
9 # Real environment variables win over .env files.
11 # DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.
12 # https://symfony.com/doc/current/configuration/secrets.html
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
17 ###> symfony/framework-bundle ###
19 APP_SECRET="Ch4ng3m3!"
20 ###< symfony/framework-bundle ###
22 ###> doctrine/doctrine-bundle ###
23 # Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
24 # IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
26 # DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db"
27 # DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8.0.32&charset=utf8mb4"
28 # DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4"
29 DATABASE_URL="postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=16&charset=utf8"
30 ###< doctrine/doctrine-bundle ###