forked from a64f7bb4-7358-4778-9fbe-3b882c34cc1d/v1
29 lines
767 B
Twig
29 lines
767 B
Twig
# Copy and rename this file to .env at root of this project.
|
|
#
|
|
# A common use case is to supply database credentials via the environment.
|
|
# Edit settings.php like so:
|
|
#
|
|
# $databases['default']['default'] = [
|
|
# 'database' => getenv('MYSQL_DATABASE'),
|
|
# 'driver' => 'mysql',
|
|
# 'host' => getenv('MYSQL_HOST'),
|
|
# 'namespace' => 'Drupal\\Core\\Database\\Driver\\mysql',
|
|
# 'password' => getenv('MYSQL_PASSWORD'),
|
|
# 'port' => getenv('MYSQL_PORT'),
|
|
# 'prefix' => '',
|
|
# 'username' => getenv('MYSQL_USER'),
|
|
# ];
|
|
#
|
|
# Uncomment and populate as needed.
|
|
# MYSQL_DATABASE=
|
|
# MYSQL_HOST=
|
|
# MYSQL_PASSWORD=
|
|
# MYSQL_PORT=
|
|
# MYSQL_USER=
|
|
|
|
{% if drush %}
|
|
# Another common use case is to set Drush's --uri via environment.
|
|
# DRUSH_OPTIONS_URI=http://localhost
|
|
|
|
{% endif %}
|