50 lines
1.5 KiB
Bash
50 lines
1.5 KiB
Bash
# Copy to .env.local and never commit that file.
|
|
|
|
# Cloudflare
|
|
# Find the account ID with `bunx wrangler whoami`.
|
|
CLOUDFLARE_ACCOUNT_ID=
|
|
|
|
# User API Token for `bun run deploy:builds:setup`; do not use an Account API Token.
|
|
# Required permissions:
|
|
# - Workers Builds Configuration: Edit
|
|
# - Workers Scripts: Read
|
|
EDGE_EVER_BUILDS_API_TOKEN=
|
|
|
|
EDGE_EVER_WORKER_NAME=edgeever
|
|
EDGE_EVER_WORKERS_DEV=true
|
|
|
|
# Storage
|
|
EDGE_EVER_D1_DATABASE_NAME=edgeever
|
|
# Use the database_id returned by Cloudflare.
|
|
EDGE_EVER_D1_DATABASE_ID=00000000-0000-0000-0000-000000000000
|
|
EDGE_EVER_R2_BUCKET_NAME=edgeever-resources
|
|
# Optional bucket for isolated preview/dev attachments.
|
|
EDGE_EVER_R2_PREVIEW_BUCKET_NAME=edgeever-resources-preview
|
|
|
|
# Authentication
|
|
# Initial login credentials; the password is uploaded as a Worker Secret.
|
|
EDGE_EVER_AUTH_USERNAME=admin
|
|
EDGE_EVER_AUTH_PASSWORD=admin123
|
|
# Allowed range: 1-400 days.
|
|
EDGE_EVER_SESSION_TTL_DAYS=400
|
|
|
|
# Demo mode
|
|
# Seeds sample content and periodically resets it; intended for public demos only.
|
|
EDGE_EVER_DEMO_MODE=false
|
|
# UTC Cron schedule, used only when demo mode is enabled.
|
|
EDGE_EVER_DEMO_RESET_CRON=0 19 * * *
|
|
|
|
# Routing
|
|
# Example: notes.example.com
|
|
EDGE_EVER_CUSTOM_DOMAIN=
|
|
# Optional full route pattern; otherwise the custom domain is used.
|
|
EDGE_EVER_ROUTE_PATTERN=
|
|
|
|
# Local frontend
|
|
VITE_API_BASE_URL=http://127.0.0.1:8787
|
|
|
|
# Multi-instance deployments
|
|
# Select remote instances per command, for example:
|
|
# EDGE_EVER_INSTANCE=prod bun run dev:remote
|
|
# Instance-specific `EDGE_EVER_<NAME>_*` values override the generic values above.
|