.env 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. #
  13. # Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
  14. # https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration
  15. ###> symfony/framework-bundle ###
  16. APP_ENV=dev
  17. APP_SECRET=6a9ac3a09c73230107373e8e0b71e0a3
  18. #TRUSTED_PROXIES=127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
  19. #TRUSTED_HOSTS='^(localhost|example\.com)$'
  20. ###< symfony/framework-bundle ###
  21. ###> symfony/mailer ###
  22. # MAILER_DSN=smtp://localhost
  23. ###< symfony/mailer ###
  24. ###> doctrine/doctrine-bundle ###
  25. # Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
  26. # For an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db"
  27. # For a PostgreSQL database, use: "postgresql://db_user:db_password@127.0.0.1:5432/db_name?serverVersion=11&charset=utf8"
  28. # IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
  29. DATABASE_URL=postgresql://postgres:foobar@postgres:5432/social
  30. #?serverVersion=11&charset=utf8
  31. ###< doctrine/doctrine-bundle ###
  32. SHELL_VERBOSITY=3
  33. ###> symfony/messenger ###
  34. # Choose one of the transports below
  35. # MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages
  36. MESSENGER_TRANSPORT_DSN_HIGH=doctrine://default?queue_name=high
  37. MESSENGER_TRANSPORT_DSN_LOW=doctrine://default?queue_name=low
  38. # MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
  39. ###< symfony/messenger ###