-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
51 lines (42 loc) · 1.94 KB
/
.env.example
File metadata and controls
51 lines (42 loc) · 1.94 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
PORT=8990
ADMIN_PASSWORD=your-secure-password
# CORS origin (default: * allows all origins)
# Set to a specific origin for production: CORS_ORIGIN=https://yourdomain.com
# CORS_ORIGIN=*
# Comma separated list of status codes that trigger key rotation (default: 429)
# 402 = Payment Required (Out of credits), 403 = Forbidden
DEFAULT_STATUS_CODES=429,402,403
# Optional: Sync the active API key to Windows User Environment Variables on rotation
# When enabled, e.g. if gemini rotates to KEY_02, it will update GEMINI_API_KEY in the system
# Useful for tools that read keys from env vars instead of using the proxy
# NOTE: Running processes (IDE, terminals) won't see the new value until they restart
ENABLE_SYSTEM_SYNC=false
EXTERNAL_ENV_PATH=../../.env
# Provider Configuration Examples:
# =====================================
# AI Providers (monthly auto-renewal keys):
# OPENAI_KEYS=sk-xxx1,sk-xxx2
# GEMINI_KEYS=gem-xxx1,gem-xxx2
# Monthly credits auto-renew, so keys can be recovered after exhaustion
# MCP / Search Providers (mostly monthly auto-renewal):
# BRAVE_KEYS=BSRxxx1,BSRxxx2
# JINA_KEYS=jina_xxx1,jina_xxx2
# FIRECRAWL_KEYS=fc_xxx1,fc_xxx2
# CONTEXT7_KEYS=c7_xxx1,c7_xxx2
# ONREF_KEYS=ref_xxx1,ref_xxx2
# TAVILY_KEYS=tvly_xxx1,tvly_xxx2
# SEARCHAPI_KEYS=search_xxx1,search_xxx2
# All have monthly subscriptions - keys recover automatically
# EXA is pay-as-you-go (no monthly renewal):
# EXA_KEYS=exa_xxx1,exa_xxx2
# EXA_FREEZE_ON_EXHAUST=true (default: true)
# Exhausted keys stay frozen - no auto-recovery for pay-as-you-go
# Optional: Skip health checks for specific providers
# Use this for providers without reliable /models or health endpoint
# TAVILY_SKIP_HEALTH=true
# JINA_SKIP_HEALTH=true
# BRAVE_SKIP_HEALTH=true
# Optional: Override default freeze-on-exhaust behavior
# EXA_FREEZE_ON_EXHAUST=true (already true by default)
# BRAVE_FREEZE_ON_EXHAUST=false (already false by default)
# For providers with monthly subscriptions, this should remain false