.env 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. ###> symfony/framework-bundle ###
  17. APP_ENV=dev
  18. APP_SECRET=5ea4fa292fdf2e0c184b1957540df3d1
  19. ###< symfony/framework-bundle ###
  20. ###> doctrine/doctrine-bundle ###
  21. # Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
  22. # IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
  23. #
  24. # DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db"
  25. # DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8.0.32&charset=utf8mb4"
  26. # DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4"
  27. DATABASE_URL="postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=16&charset=utf8"
  28. ###< doctrine/doctrine-bundle ###
  29. ###> symfony/messenger ###
  30. # Choose one of the transports below
  31. # MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages
  32. # MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
  33. MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0
  34. ###< symfony/messenger ###
  35. ###> symfony/mailer ###
  36. # MAILER_DSN=null://null
  37. ###< symfony/mailer ###
  38. TITLE="Opinion sur le réel"