Files
dynamic-sites-simple/.env.example
2026-04-23 07:58:35 -05:00

46 lines
1.2 KiB
Plaintext

# Required
API_EDIT_SECRET=change-me-to-a-random-string
# LLM (required to actually process edits)
OLLAMA_API_KEY=
# For Ollama Cloud use https://ollama.com, for local Ollama use http://localhost:11434
OLLAMA_HOST=https://ollama.com
# Paths
REPO_ROOT=.
IDEMPOTENCY_DB_PATH=./data/dynamic-sites.db
# SSR cache
SITE_DATA_TTL_MS=500
# SMS (Vonage)
VONAGE_API_KEY=your_vonage_api_key
VONAGE_API_SECRET=your_vonage_api_secret
VONAGE_APPLICATION_ID=your_vonage_application_id
VONAGE_API_SIGNATURE_SECRET=your_vonage_signature_secret
# Vonage private key — use ONE of these two options:
# Option A: path to the .key file on disk (local / Docker file mount)
VONAGE_PRIVATE_KEY_PATH=./private.key
# Option B: raw PEM content or base64-encoded PEM (for PaaS / Dokploy env vars)
# To base64-encode: base64 -w0 private.key
# VONAGE_PRIVATE_KEY=
# CORS
CORS_ALLOWED_ORIGIN=http://localhost:4321
# Logging
LOG_LEVEL=debug
# Proposals
PROPOSAL_TTL_MS=900000
# Set to "true" to skip the YES/NO confirmation step and apply edits immediately
AUTO_APPLY_EDITS=false
# Editor auth
EDITOR_SESSION_SECRET=change-me-to-another-random-string
# Rate limits
SMS_RATE_LIMIT_PER_HOUR=10
MAX_UPLOAD_SIZE_BYTES=5242880