-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
62 lines (52 loc) · 1.45 KB
/
.env.example
File metadata and controls
62 lines (52 loc) · 1.45 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
# Database
DATABASE_URL=postgresql+asyncpg://user:password@localhost:5432/routing
# Redis
REDIS_URL=redis://localhost:6379/0
# JWT - MUST be changed in production (minimum 32 characters)
# Use: openssl rand -base64 32
JWT_SECRET_KEY=CHANGE_ME_IN_PRODUCTION_MINIMUM_32_CHARS
ACCESS_TOKEN_EXPIRE_MINUTES=43200
REFRESH_TOKEN_EXPIRE_DAYS=30
# Security
ARGON2_ROUNDS=4
API_KEY_PREFIX=rk_
API_KEY_LENGTH=32
# OAuth (optional - for GitHub login)
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
OAUTH_REDIRECT_URI=http://localhost:3000/auth/callback/github
# Provider API Keys (get from respective provider dashboards)
MINIMAX_API_KEY=
OPENCODE_API_KEY=
OPENCODE_API_KEY_2=
XIAOMI_API_KEY=
CHUTES_API_KEY=
ZAI_API_KEY=
OPENROUTER_API_KEY=
# OpenRouter Additional Keys (optional)
OPENROUTER_XIAOMI_API_KEY=
OPENROUTER_DEEPSEEK_API_KEY=
OPENROUTER_GROK_API_KEY=
# Whop Integration (optional - for paid plans)
WHOP_CLIENT_ID=
WHOP_SECRET_KEY=
WHOP_WEBHOOK_SECRET=
WHOP_API_BASE_URL=https://api.whop.com
WHOP_FREE_PRODUCT_ID=
WHOP_LITE_PRODUCT_ID=
WHOP_PREMIUM_PRODUCT_ID=
WHOP_MAX_PRODUCT_ID=
# Email (optional - for sending verification emails)
EMAIL_PROVIDER=unosend
UNOSEND_API_KEY=
FROM_EMAIL=noreply@routing.run
FROM_NAME=Routing.Run
# OpenBrand API (optional - for brand detection feature)
OPENBRAND_API_KEY=
# App Settings
API_HOST=0.0.0.0
API_PORT=8000
DEBUG=false
LOG_LEVEL=INFO
API_WORKERS=4
CORS_ORIGINS=["http://localhost:3000","https://routing.run","https://www.routing.run"]