-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
24 lines (21 loc) · 826 Bytes
/
Copy path.env.example
File metadata and controls
24 lines (21 loc) · 826 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copy to .env at the repo root or backend/ (both are loaded; backend/.env overrides).
# Anthropic
ANTHROPIC_API_KEY=sk-ant-your-key-here
# PostgreSQL
POSTGRES_HOST=localhost
POSTGRES_PORT=5432
POSTGRES_DB=insightiq
POSTGRES_USER=insightiq_user
POSTGRES_PASSWORD=insightiq_pass
DATABASE_URL=postgresql://insightiq_user:insightiq_pass@localhost:5432/insightiq
LANGFUSE_PUBLIC_KEY=pk-...
LANGFUSE_SECRET_KEY=sk-...
LANGFUSE_BASE_URL=https://cloud.langfuse.com
DATABASE_URL_RO=postgresql://querymind_ro:...@host/insightiq # read path
STATEMENT_TIMEOUT_MS=5000
MAX_ROW_LIMIT=1000
BUDGET_USD_DAILY=2.00
COST_ALERT_WEBHOOK_URL= # optional Slack webhook for in-app budget alerts
CLAUDE_INPUT_USD_PER_MTOK=3.0
CLAUDE_OUTPUT_USD_PER_MTOK=15.0
CACHE_TTL_SECONDS=900 # 15 min — schema prompt + normalised question cache