-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
69 lines (55 loc) · 1.67 KB
/
.env.example
File metadata and controls
69 lines (55 loc) · 1.67 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
# Database Configuration
POSTGRES_DB=appwit_db
POSTGRES_USER=appwit
POSTGRES_PASSWORD=change_this_password
POSTGRES_PORT=5432
# Backend Configuration
NODE_ENV=production
PORT=4000
BACKEND_PORT=4000
BACKEND_IMAGE=appwit/backend:latest
# Database URL (auto-constructed in docker-compose, set manually for local dev)
DATABASE_URL=postgresql://appwit:change_this_password@localhost:5432/appwit_db
# URLs
FRONTEND_URL=http://localhost:3000
BACKEND_URL=http://localhost:4000
CORS_ORIGINS=http://localhost:3000,http://127.0.0.1:3000
# JWT Secret - CHANGE THIS IN PRODUCTION!
JWT_SECRET=your_super_secret_jwt_key_change_this
JWT_EXPIRES_IN=7d
SESSION_EXPIRY_DAYS=7
# E2B Sandbox Configuration
E2B_API_KEY=your_e2b_api_key_here
TEMPLATE_ID=your_template_id_here
SANDBOX_PORT=3000
# LLM Provider Configuration
# Options: 'openrouter' (default), 'anthropic', 'openai'
LLM_PROVIDER=openrouter
# OpenRouter Configuration
OPENROUTER_API_KEY=your_openrouter_api_key_here
OPENROUTER_MODEL=anthropic/claude-sonnet-4-20250514
# Anthropic Configuration
ANTHROPIC_API_KEY=your_anthropic_api_key_here
ANTHROPIC_MODEL=claude-sonnet-4-20250514
# OpenAI Configuration
OPENAI_API_KEY=your_openai_api_key_here
OPENAI_MODEL=gpt-5.2-codex
# Cloudflare R2 Storage (Optional)
R2_ACCOUNT_ID=
R2_ACCESS_KEY_ID=
R2_SECRET_ACCESS_KEY=
R2_BUCKET_NAME=
R2_PUBLIC_URL=
# Langfuse Observability (Optional)
LANGFUSE_PUBLIC_KEY=
LANGFUSE_SECRET_KEY=
LANGFUSE_HOST=https://cloud.langfuse.com
# Frontend Configuration
FRONTEND_PORT=3000
FRONTEND_IMAGE=appwit/frontend:latest
NEXT_PUBLIC_BACKEND_URL=http://localhost:4000
# Google OAuth (Optional)
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
# vercel deployment
VERCEL_TOKEN=your_vercel_token_here