# Copy to .env (never commit .env). All secrets are read server-side only. # PostgreSQL 17 (extensions used: pg_trgm, unaccent, vector when available) DATABASE_URL=postgres://localhost:5432/rareindex # Extraction engines (server-side only — never shipped to the browser) FIRECRAWL_API_KEY= SCRAPFLY_API_KEY= # AI providers (any subset; the model router picks what is configured) ANTHROPIC_API_KEY= OPENAI_API_KEY= # OpenAI-compatible local gateway (optional) LOCAL_LLM_BASE_URL= LOCAL_LLM_API_KEY= # Optional source API keys POKEMONTCG_API_KEY= # Web NEXT_PUBLIC_SITE_URL=http://localhost:3000 SESSION_SECRET=change-me-32-bytes-minimum ADMIN_TOKEN=change-me # Public API API_PORT=8211 WEB_PORT=8210 # Worker WORKER_CONCURRENCY=4 LOG_LEVEL=info # Transactional email (verification codes, MFA codes, alerts, digests) RESEND_API_KEY= EMAIL_FROM="RareIndex "