# ─── Database ───────────────────────────────────────────── # Use either DATABASE_URL or the individual fields below DATABASE_URL=postgresql+asyncpg://dev:dev_password@localhost:5432/invest_copilot DB_HOST=localhost DB_PORT=5432 DB_NAME=invest_copilot DB_USER=dev DB_PASSWORD=dev_password # ─── Redis ──────────────────────────────────────────────── REDIS_HOST=localhost REDIS_PORT=6379 # ─── MinIO (S3-compatible storage) ─────────────────────── MINIO_ENDPOINT=localhost:9000 MINIO_ACCESS_KEY=dev MINIO_SECRET_KEY=dev_password MINIO_BUCKET=invest-copilot # ─── AI/LLM (optional — for sentiment analysis, SEC parsing) ─────── OPENAI_API_KEY=sk-... # or ANTHROPIC_API_KEY=sk-ant-... # ─── Financial Data ───────────── # All market data uses yfinance (free, no API key needed) # SEC EDGAR is free and public # No API keys required for core functionality # ─── Authentication ────────────────────────────────────── JWT_SECRET_KEY=your-super-secret-jwt-key-change-in-production # ─── Next.js ───────────────────────────────────────────── NEXT_PUBLIC_API_URL=http://localhost:3000