.env.example 746 B

123456789101112131415161718192021222324252627
  1. #
  2. # Copy and rename this file to .env at root of this project.
  3. #
  4. # A common use case is to supply database creds via the environment. Edit settings.php
  5. # like so:
  6. #
  7. # $databases['default']['default'] = [
  8. # 'database' => getenv('MYSQL_DATABASE'),
  9. # 'driver' => 'mysql',
  10. # 'host' => getenv('MYSQL_HOSTNAME'),
  11. # 'namespace' => 'Drupal\\Core\\Database\\Driver\\mysql',
  12. # 'password' => getenv('MYSQL_PASSWORD'),
  13. # 'port' => getenv('MYSQL_PORT'),
  14. # 'prefix' => '',
  15. # 'username' => getenv('MYSQL_USER'),
  16. # ];
  17. #
  18. # Uncomment and populate as needed.
  19. # MYSQL_DATABASE=
  20. # MYSQL_HOSTNAME=
  21. # MYSQL_PASSWORD=
  22. # MYSQL_PORT=
  23. # MYSQL_USER=
  24. # Another common use case is to set Drush's --uri via environment.
  25. # DRUSH_OPTIONS_URI=http://example.com