-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
31 lines (27 loc) · 1.22 KB
/
.env.example
File metadata and controls
31 lines (27 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copy this file to .env (gitignored) and fill in values for local development.
#
# In production, these variables are set as Azure Container App environment
# variables and secrets — the .env file is not used there.
#
# DDEV users: DB_* vars are automatically provided by settings.ddev.php, but
# you still need DRUPAL_HASH_SALT (and any other non-DB vars) here.
# ---------------------------------------------------------------------------
# Database
# DDEV default: host=db, all credentials = "db"
# ---------------------------------------------------------------------------
DB_HOST=db
DB_NAME=db
DB_USER=db
DB_PASSWORD=db
# DB_PORT=3306
# ---------------------------------------------------------------------------
# Drupal
# Generate a salt with: drush php-eval 'echo \Drupal\Component\Utility\Crypt::randomBytesBase64(55);'
# ---------------------------------------------------------------------------
DRUPAL_HASH_SALT=replace-me-with-a-real-random-value
# Comma-separated regex patterns for Drupal's trusted_host_patterns.
# Leave empty locally (settings.local.php.example sets ['.*'] for dev).
# In production set to your Container App FQDN, e.g.:
# ^drupal\.azurecontainerapps\.io$
DRUPAL_TRUSTED_HOST_PATTERNS=
DRUPAL_ENVIRONMENT=local