-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
28 lines (24 loc) · 1.15 KB
/
Copy path.env.example
File metadata and controls
28 lines (24 loc) · 1.15 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
# Local-only configuration template. Copy to .env and never commit real values.
# Administrator and Worker secrets
ADMIN_WQ_ID="DEMO_ADMIN"
# Optional local recovery reference; production authentication uses the hash.
ADMIN_PASSWORD_PLAINTEXT="replace-with-a-high-entropy-password"
ADMIN_PASSWORD_HASH="replace-with-uppercase-sha256"
WQ_ID_HMAC_SECRET="replace-with-32-random-bytes"
TURNSTILE_SECRET="1x0000000000000000000000000000000AA"
SESSION_SECRET="replace-with-another-32-random-bytes"
# Cloudflare account and D1
CLOUDFLARE_API_TOKEN="replace-with-scoped-api-token"
CLOUDFLARE_ACCOUNT_ID="replace-with-account-id"
CLOUDFLARE_D1_DATABASE_ID="replace-with-database-uuid"
CLOUDFLARE_D1_DATABASE_NAME="wq-meeting-calendar"
CLOUDFLARE_WORKER_NAME="wq-meeting-calendar-api"
# Production URLs and public frontend configuration
VITE_API_BASE_URL="https://api.calendar.example.com"
VITE_TURNSTILE_SITE_KEY="1x00000000000000000000AA"
VITE_BASE_PATH="/"
API_BASE_URL="https://api.calendar.example.com"
CALENDAR_ORIGIN="https://calendar.example.com"
ALLOWED_ORIGINS="https://calendar.example.com"
APP_ENV="production"
# Worker local runtime values still belong in worker/.dev.vars.