-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
90 lines (76 loc) · 5.59 KB
/
.env.example
File metadata and controls
90 lines (76 loc) · 5.59 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# ═══════════════════════════════════════════════════════════════
# CODEWARDEN ENVIRONMENT CONFIGURATION
# ═══════════════════════════════════════════════════════════════
# Copy this file to .env and fill in the values
# NEVER commit .env to version control
# ───────────────────────────────────────────────────────────────
# ENVIRONMENT
# ───────────────────────────────────────────────────────────────
ENVIRONMENT=development
LOG_LEVEL=debug
# ───────────────────────────────────────────────────────────────
# DATABASE (Supabase)
# ───────────────────────────────────────────────────────────────
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/postgres
SUPABASE_URL=http://localhost:8000
# NEW API Keys (2025+) - Use these for new projects
# Get from: Supabase Dashboard → Project Settings → API
SUPABASE_PUBLISHABLE_KEY=sb_publishable_xxx
SUPABASE_SECRET_KEY=sb_secret_xxx
# LEGACY API Keys (deprecated, will be removed)
# Only use if your project was created before Nov 2025
# SUPABASE_ANON_KEY=your-anon-key
# SUPABASE_SERVICE_KEY=your-service-key
# ───────────────────────────────────────────────────────────────
# REDIS (Local/Upstash)
# ───────────────────────────────────────────────────────────────
REDIS_URL=redis://localhost:6379
# For Upstash (production):
# UPSTASH_REDIS_REST_URL=https://xxx.upstash.io
# UPSTASH_REDIS_REST_TOKEN=xxx
# ───────────────────────────────────────────────────────────────
# OPENOBSERVE (Log Storage)
# ───────────────────────────────────────────────────────────────
OPENOBSERVE_URL=http://localhost:5080
OPENOBSERVE_ORG=default
OPENOBSERVE_USER=admin@codewarden.local
OPENOBSERVE_PASSWORD=admin123
# ───────────────────────────────────────────────────────────────
# AI PROVIDERS
# ───────────────────────────────────────────────────────────────
# Get keys from:
# - Google: https://makersuite.google.com/app/apikey
# - Anthropic: https://console.anthropic.com/
# - OpenAI: https://platform.openai.com/api-keys
GOOGLE_API_KEY=
ANTHROPIC_API_KEY=
OPENAI_API_KEY=
# ───────────────────────────────────────────────────────────────
# NOTIFICATIONS
# ───────────────────────────────────────────────────────────────
# Resend: https://resend.com/api-keys
RESEND_API_KEY=re_xxx
# Telegram: https://t.me/BotFather
TELEGRAM_BOT_TOKEN=
# ───────────────────────────────────────────────────────────────
# STORAGE (Cloudflare R2)
# ───────────────────────────────────────────────────────────────
CLOUDFLARE_R2_ACCESS_KEY_ID=
CLOUDFLARE_R2_SECRET_ACCESS_KEY=
CLOUDFLARE_R2_BUCKET=codewarden-evidence
CLOUDFLARE_R2_ENDPOINT=
# ───────────────────────────────────────────────────────────────
# API CONFIGURATION
# ───────────────────────────────────────────────────────────────
API_HOST=0.0.0.0
API_PORT=8000
API_WORKERS=1
# ───────────────────────────────────────────────────────────────
# DASHBOARD CONFIGURATION
# ───────────────────────────────────────────────────────────────
NEXT_PUBLIC_API_URL=http://localhost:8000
NEXT_PUBLIC_SUPABASE_URL=http://localhost:8000
# NEW: Use publishable key (safe for browser/frontend)
NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY=sb_publishable_xxx
# LEGACY (deprecated)
# NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key