# Database DATABASE_URL="postgresql://postgres:postgres@localhost:5432/hp_prod_tracker?schema=public" # Auth.js AUTH_SECRET="" # Generate with: npx auth secret AUTH_GOOGLE_ID="" AUTH_GOOGLE_SECRET="" AUTH_MICROSOFT_ENTRA_ID_ID="" AUTH_MICROSOFT_ENTRA_ID_SECRET="" AUTH_MICROSOFT_ENTRA_ID_TENANT_ID="" # App NEXT_PUBLIC_APP_URL="http://localhost:3000" # Claude AI (AI Chat Assistant — primary provider) # Used for the chat interface. Falls back to Ollama if unavailable. # Get your key at: https://console.anthropic.com/ ANTHROPIC_API_KEY="" # Optional: override the default model (cheapest & latest = claude-haiku-4-5-20251001) # Pricing: $1/1M input tokens, $5/1M output tokens # Other options: claude-sonnet-4-6 ($3/$15), claude-opus-4-6 ($5/$25) # ANTHROPIC_MODEL="claude-haiku-4-5-20251001" # Cron / Scheduler CRON_SECRET="" # Secret for /api/cron/* endpoints. Generate with: openssl rand -hex 32 # Ollama (AI — embeddings, search, chat fallback) # Local Ollama instance for embeddings, LLM summarization, and chat fallback. # No data leaves the network. Zero ongoing AI costs. OLLAMA_HOST="http://localhost:11434" OLLAMA_EMBED_MODEL="nomic-embed-text" OLLAMA_LLM_MODEL="qwen3:1.7b"