NextExpense/.env.example
cclohmar c0d3002e22 fix: remove hardcoded credentials from .env.example and source
- .env.example: placeholder values only
- gemini.go: error on missing API key instead of fallback
- main.go: dynamic from address from SMTP_USER
- Security: old credentials removed from active codebase
2026-05-30 15:08:01 +00:00

29 lines
714 B
Text

# ReceiptNext Configuration
# Copy this file to .env and fill in your credentials.
# Run `sudo ./install.sh` for interactive setup.
# --- AI Provider ---
# Choose one: gemini, openai, ollama
AI_PROVIDER=gemini
# For AI_PROVIDER=gemini:
# GEMINI_API_KEY=your-gemini-api-key
# For AI_PROVIDER=openai:
# OPENAI_API_KEY=sk-...
# AI_MODEL=gpt-4o-mini
# AI_BASE_URL=https://api.openai.com/v1
# For AI_PROVIDER=ollama:
# AI_BASE_URL=http://localhost:11434
# AI_MODEL=qwen3.5:2b
# --- SMTP (optional — needed for OTP emails and report delivery) ---
# SMTP_HOST=smtp.example.com
# SMTP_PORT=587
# SMTP_USER=your-email@example.com
# SMTP_PASS=your-password
# --- General ---
PORT=8080
BASE_URL=http://localhost:8080