-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
21 lines (17 loc) · 789 Bytes
/
.env.example
File metadata and controls
21 lines (17 loc) · 789 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copy to `.env` for local dev:
# cp .env.example .env
#
# Required: Drupal origin URL (where `/jsonapi/*` is accessible).
DRUPAL_BASE_URL=https://cms.example.com
# Deployment mode:
# - split_routing (default): route selected paths to Astro at your edge/CDN.
# - nextjs_first: Astro handles all traffic and proxies non-headless + assets to Drupal origin.
DEPLOYMENT_MODE=split_routing
# Frontend-first only (optional override; defaults to DRUPAL_BASE_URL).
# DRUPAL_ORIGIN_URL=https://cms.example.com
# Frontend-first only (recommended): origin protection secret from Drupal admin.
# DRUPAL_PROXY_SECRET=your-secret-from-drupal
# Optional: credentials for protected JSON:API (server-side only).
# DRUPAL_BASIC_USERNAME=editor
# DRUPAL_BASIC_PASSWORD=editor
# DRUPAL_JWT_TOKEN=abc123