# Investor Flow — Environment Variables # Copy this file to .env and fill in the values. # Unraid production: start from deploy/unraid/.env.example instead. # ─── Security ─────────────────────────────────────────────────────────────── # Session secret for JWT signing (generate with: openssl rand -hex 32) IFLOW_SESSION_SECRET=dev-secret-change-me # AES-256-GCM key for x_credentials (64 hex chars). Required in production if # you migrate an existing DB. openssl rand -hex 32 IFLOW_CRYPTO_KEY= # SQLite file inside the backend container / local checkout IFLOW_DB_PATH= IFLOW_DATA_DIR=./app/server/data # ─── SEC EDGAR ────────────────────────────────────────────────────────────── # Operator email for EDGAR user-agent (required by SEC fair-use policy) SEC_OPERATOR_EMAIL=operator@example.com # ─── X/Twitter ────────────────────────────────────────────────────────────── # Cookie string from x.com (for cookie-based scraping) X_COOKIE= # ─── Reddit API ───────────────────────────────────────────────────────────── # Reddit OAuth app credentials (https://www.reddit.com/prefs/apps) REDDIT_CLIENT_ID= REDDIT_CLIENT_SECRET= REDDIT_USER_AGENT=investor-flow/1.0 # ─── LLM Provider (ADR-0006: local-only) ──────────────────────────────────── # URL for the local LLM provider (e.g. LM Studio, ollama, omlx) LLM_PROVIDER_URL=http://localhost:1234/v1 # ─── FRED (Federal Reserve Economic Data) ─────────────────────────────────── # API key from https://fred.stlouisfed.org/docs/api/api_key.html FRED_API_KEY= # ─── OAuth (optional) ─────────────────────────────────────────────────────── GITHUB_CLIENT_ID= GITHUB_CLIENT_SECRET= GOOGLE_CLIENT_ID= GOOGLE_CLIENT_SECRET=