-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
73 lines (63 loc) · 4.83 KB
/
.env.example
File metadata and controls
73 lines (63 loc) · 4.83 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# ============================================================
# DeckForge Environment Configuration
# Copy to .env: cp .env.example .env
# All variables prefixed with DECKFORGE_
# ============================================================
# ── Core ────────────────────────────────────────────────────
# DECKFORGE_ENVIRONMENT=development # development | staging | production
# DECKFORGE_DEBUG=true # Enable debug mode (disable in production)
# DECKFORGE_API_HOST=0.0.0.0 # API bind address
# DECKFORGE_API_PORT=8000 # API port
# ── Database ────────────────────────────────────────────────
# PostgreSQL connection string. Docker Compose provides a local instance.
DECKFORGE_DATABASE_URL=postgresql+psycopg://deckforge:deckforge@localhost:5432/deckforge
# ── Redis ───────────────────────────────────────────────────
# Used for ARQ job queue, rate limiting, SSE pub/sub, and caching.
DECKFORGE_REDIS_URL=redis://localhost:6379/0
# ── S3-Compatible Storage ───────────────────────────────────
# Local dev: MinIO (docker compose provides this on port 9000)
# Production: Cloudflare R2, AWS S3, or Fly Tigris
DECKFORGE_S3_ENDPOINT_URL=http://localhost:9000
DECKFORGE_S3_ACCESS_KEY=minioadmin
DECKFORGE_S3_SECRET_KEY=minioadmin
DECKFORGE_S3_BUCKET=deckforge
# ── LLM Providers (for /v1/generate content pipeline) ──────
# At least one key needed for NL-to-IR generation.
# Render (/v1/render) works without any LLM key.
# DECKFORGE_LLM_DEFAULT_PROVIDER=claude # Default LLM: claude | openai | gemini | ollama
# DECKFORGE_LLM_FALLBACK_CHAIN=claude,openai,gemini # Fallback order (comma-separated)
# DECKFORGE_ANTHROPIC_API_KEY=sk-ant-... # Anthropic Claude API key
# DECKFORGE_OPENAI_API_KEY=sk-... # OpenAI API key
# DECKFORGE_GEMINI_API_KEY=AI... # Google Gemini API key
# DECKFORGE_OLLAMA_BASE_URL=http://localhost:11434 # Ollama local server URL
# ── Stripe Billing ──────────────────────────────────────────
# Required for subscription billing (Starter/Pro/Enterprise tiers).
# Get keys from https://dashboard.stripe.com/apikeys
# DECKFORGE_STRIPE_SECRET_KEY=sk_test_... # Stripe secret key
# DECKFORGE_STRIPE_WEBHOOK_SECRET=whsec_... # Stripe webhook signing secret
# DECKFORGE_STRIPE_STARTER_PRICE_ID=price_... # Stripe price ID for Starter tier
# DECKFORGE_STRIPE_PRO_PRICE_ID=price_... # Stripe price ID for Pro tier
# ── Unkey API Key Management ────────────────────────────────
# Optional: replaces DB-based SHA-256 auth in production.
# Falls back to local DB auth if not set (suitable for development).
# DECKFORGE_UNKEY_ROOT_KEY=unkey_... # Unkey root key for key management
# DECKFORGE_UNKEY_API_ID=api_... # Unkey API ID
# ── x402 Machine Payments (USDC on Base L2) ─────────────────
# Optional: enables per-call USDC payments for AI agents.
# Requires a USDC-capable wallet on Base Mainnet (chain 8453).
# DECKFORGE_X402_ENABLED=false # Set to true to enable x402 payments
# DECKFORGE_X402_WALLET_ADDRESS=0x... # USDC receiving wallet address
# DECKFORGE_X402_FACILITATOR_URL=https://x402.org/facilitator # x402 facilitator endpoint
# DECKFORGE_X402_NETWORK=eip155:8453 # Base Mainnet chain identifier
# ── OraClaw Intelligence Layer ──────────────────────────────
# Optional: enables AI-powered theme selection, content QA, and
# Monte Carlo financial projections via OraClaw's algorithm backend.
# DECKFORGE_ORACLAW_ENABLED=false # Set to true to enable intelligence
# DECKFORGE_ORACLAW_BASE_URL=https://oraclaw-api.onrender.com # OraClaw API base URL
# DECKFORGE_ORACLAW_API_KEY=oc_... # OraClaw API key
# ── Google OAuth (for Google Slides output) ──────────────────
# Required only for output_format=gslides rendering.
# Create credentials at https://console.cloud.google.com/apis/credentials
# DECKFORGE_GOOGLE_CLIENT_ID=...apps.googleusercontent.com # Google OAuth client ID
# DECKFORGE_GOOGLE_CLIENT_SECRET=GOCSPX-... # Google OAuth client secret
# DECKFORGE_GOOGLE_REDIRECT_URI=http://localhost:8000/v1/auth/google/callback # OAuth callback URL