You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
1.5 KiB

6 months ago
6 months ago
  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=prod
  17. APP_SECRET=aa708f7c537a5c6d167229524aea0817
  18. ###< symfony/framework-bundle ###
  19. ###> doctrine/doctrine-bundle ###
  20. # Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
  21. # For an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db"
  22. # For a PostgreSQL database, use: "postgresql://db_user:db_password@127.0.0.1:5432/db_name?serverVersion=11&charset=utf8"
  23. # IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
  24. DATABASE_URL=mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7
  25. ###< doctrine/doctrine-bundle ###
  26. APP_DEFAULT_URI=http://127.0.0.1:8000