# ============================================================================= # WorldMonitor — Environment Variables # ============================================================================= # Copy this file to .env (gitignored) and fill in your keys. # All keys are optional — the dashboard works without them, # but the corresponding features will be disabled. # # Usage: # cp .env.example .env.local (docker-compose auto-loads .env from CWD) # # For production secrets, add these to the shared containers.env # agenix secret at: secrets/containers.env.age # ============================================================================= # ── REQUIRED: These containers refuse to start without them ── # Generate with: openssl rand -hex 32 REDIS_PASSWORD= REDIS_TOKEN= RELAY_SHARED_SECRET= # ── LLM / AI (for intelligence assessments) ── # Pick one or both GROQ_API_KEY= # https://console.groq.com (free: 14,400 req/day) OPENROUTER_API_KEY= # https://openrouter.ai (free: 50 req/day) # ── Markets & Economics (optional) ── FINNHUB_API_KEY= # https://finnhub.io (free tier) FRED_API_KEY= # https://fred.stlouisfed.org (free) EIA_API_KEY= # https://www.eia.gov/opendata/ (free) # ── Aviation (optional) ── AVIATIONSTACK_API= # https://aviationstack.com (free tier) WINGBITS_API_KEY= # https://wingbits.com (contact them) # ── Maritime (optional) ── AISSTREAM_API_KEY= # https://aisstream.io (free tier) # ── Conflict & Unrest (optional) ── ACLED_ACCESS_TOKEN= # https://acleddata.com (free for researchers) # ── Earth Observation (optional) ── NASA_FIRMS_API_KEY= # https://firms.modaps.eosdis.nasa.gov (free) # ── Infrastructure / Internet (optional) ── CLOUDFLARE_API_TOKEN= # https://developers.cloudflare.com/fundamentals/api/ # ── Port (optional, defaults to 3000) ── WM_PORT=3000 # ── Convex (for cloud sync / auth — optional for self-host) ── CONVEX_URL= CLERK_SECRET_KEY= VITE_CLERK_PUBLISHABLE_KEY=