-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
35 lines (26 loc) · 1020 Bytes
/
Copy path.env.example
File metadata and controls
35 lines (26 loc) · 1020 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
25
26
27
28
29
30
31
32
33
34
35
# FinWise Environment Variables
# Copy this file to .env and fill in your values
# Database
MYSQL_ROOT_PASSWORD=rootpass
MYSQL_PASSWORD=finwise123
DATABASE_URL=mysql+pymysql://finwise:finwise123@db:3306/finwise
# JWT Secrets — generate with: python -c "import secrets; print(secrets.token_hex(32))"
SECRET_KEY=change-me-in-production-use-32-char-random-string
REFRESH_SECRET_KEY=change-me-refresh-secret-32-chars
OCR_PROVIDER=tesseract
TESSERACT_CMD=/usr/bin/tesseract
# Frontend URL (for CORS)
FRONTEND_URL=http://localhost:5173
# AI Provider — "groq" (hosted, recommended for deployment) or "ollama" (local dev)
LLM_PROVIDER=groq
# Groq API (free tier) — https://console.groq.com
GROQ_API_KEY=your_groq_api_key_here
GROQ_MODEL=llama-3.3-70b-versatile
# Ollama (local dev only — not needed when LLM_PROVIDER=groq)
# OLLAMA_ENABLED=true
# OLLAMA_BASE_URL=http://localhost:11434
# OLLAMA_MODEL=qwen2.5:7b
# Optional cloud conversational LLM
OPENAI_ENABLED=false
OPENAI_API_KEY=
OPENAI_MODEL=gpt-5.6-luna