-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
46 lines (35 loc) · 1.86 KB
/
Copy path.env.example
File metadata and controls
46 lines (35 loc) · 1.86 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Drupal_Astro_Kit Environment Configuration
# Copy this file to .env and update the values for your environment
#
# V1 Operating Model: Local-first
# Drupal runs locally via DDEV. Astro builds a static site locally.
# You deploy the static output manually to Cloudflare Pages.
# ─── Required: Local Development ────────────────────────────────
# These are the only vars you need to get started.
PROJECT_NAME=your-project-name
# Drupal (local DDEV instance)
DRUPAL_BASE_URL=http://your-project-name.ddev.site
DRUPAL_JSONAPI_URL=http://your-project-name.ddev.site/jsonapi
DRUPAL_ADMIN_USER=admin
DRUPAL_ADMIN_PASS=admin
# Astro (static site generator)
API_BASE_URL=http://your-project-name.ddev.site
HOMEPAGE_ALIAS=/home
# ─── Optional: Deployment to Cloudflare Pages ───────────────────
# Only needed when you're ready to deploy. See docs/deployment.md.
CLOUDFLARE_ACCOUNT_ID=your-cloudflare-account-id
CLOUDFLARE_API_TOKEN=your-cloudflare-api-token
CLOUDFLARE_PROJECT_NAME=your-project-name
# ─── Optional Advanced: Development Tools ───────────────────────
# Enable these for local development debugging. Not required.
ENABLE_XDEBUG=false
ENABLE_MAILHOG=false
ENABLE_ADMINER=false
# ─── Optional Advanced: Performance Tuning ──────────────────────
# Adjust these based on your server capacity. Defaults work fine.
PHP_MEMORY_LIMIT=256M
PHP_MAX_EXECUTION_TIME=60
# ─── Deprecated ─────────────────────────────────────────────────
# DRUPAL_API_URL — Use DRUPAL_JSONAPI_URL instead
# NODE_ENV — Not used by V1 static build
# DRUPAL_ENV — Not used by V1 static build