34 lines
1.0 KiB
Bash
34 lines
1.0 KiB
Bash
#
|
|
# Copy and rename this file to .env at root of this project.
|
|
#
|
|
|
|
# A common use case is to supply database creds via the environment. Edit settings.php
|
|
# like so:
|
|
#
|
|
# $databases['default']['default'] = [
|
|
# 'database' => getenv('MYSQL_DATABASE'),
|
|
# 'driver' => 'mysql',
|
|
# 'host' => getenv('MYSQL_HOSTNAME'),
|
|
# '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_HOSTNAME=
|
|
# MYSQL_PASSWORD=
|
|
# MYSQL_PORT=
|
|
# MYSQL_USER=
|
|
|
|
# Another common use case is to set Drush's --uri via environment.
|
|
# DRUSH_OPTIONS_URI=http://example.com
|
|
|
|
# Stripe secret key for the "stripe" commerce payment gateway. Kept out of
|
|
# config/sync (which ships an empty secret_key) and injected in settings.php
|
|
# via getenv('STRIPE_SECRET_KEY'). Use a live key in production, a test key
|
|
# (sk_test_...) everywhere else.
|
|
# STRIPE_SECRET_KEY=
|