P1-1: Permission instructions now correctly reference Account →
Account Analytics → Read, matching Cloudflare's Radar API docs.
P1-2: Layer 3 DDoS endpoint fixed to use /summary/{dimension}
(protocol, vector) and parse summary_0 response format per API
contract. Returns protocol breakdown and attack vector percentages.
50 lines
1.9 KiB
Plaintext
50 lines
1.9 KiB
Plaintext
# ============================================
|
|
# Crucix Intelligence Engine — Configuration
|
|
# ============================================
|
|
# Copy this file to .env and fill in your keys.
|
|
# Keys are optional — sources without keys degrade gracefully.
|
|
#
|
|
# IMPORTANT: Do NOT put comments on the same line as values.
|
|
# Docker env_file treats inline comments as part of the value.
|
|
|
|
# === OSINT Source API Keys ===
|
|
|
|
# Federal Reserve Economic Data (free: fred.stlouisfed.org/docs/api)
|
|
FRED_API_KEY=
|
|
# NASA FIRMS fire data (free: firms.modaps.eosdis.nasa.gov/api)
|
|
FIRMS_MAP_KEY=
|
|
# Energy Information Administration (free: api.eia.gov/register)
|
|
EIA_API_KEY=
|
|
# Maritime AIS data (aisstream.io)
|
|
AISSTREAM_API_KEY=
|
|
# Armed Conflict Location & Event Data (acleddata.com/user/register)
|
|
ACLED_EMAIL=
|
|
# OAuth2 password grant (API keys deprecated Sept 2025)
|
|
ACLED_PASSWORD=
|
|
# Cloudflare Radar internet outages & traffic anomalies (free: dash.cloudflare.com/profile/api-tokens, Account Analytics Read)
|
|
CLOUDFLARE_API_TOKEN=
|
|
|
|
# === Server Configuration ===
|
|
|
|
# Dashboard server port
|
|
PORT=3117
|
|
# Auto-refresh interval (minutes)
|
|
REFRESH_INTERVAL_MINUTES=15
|
|
|
|
# === LLM Layer (optional) ===
|
|
# Enables AI-enhanced trade ideas and breaking news Telegram alerts.
|
|
# Provider options: anthropic | openai | gemini | codex | openrouter | minimax | mistral | ollama
|
|
LLM_PROVIDER=
|
|
# Not needed for codex (uses ~/.codex/auth.json) or ollama (local)
|
|
LLM_API_KEY=
|
|
# Optional override. Each provider has a sensible default:
|
|
# anthropic: claude-sonnet-4-6 | openai: gpt-5.4 | gemini: gemini-3.1-pro | codex: gpt-5.3-codex | openrouter: openrouter/auto | minimax: MiniMax-M2.5 | ollama: llama3.1:8b
|
|
LLM_MODEL=
|
|
# Ollama base URL (only needed if not using default http://localhost:11434)
|
|
OLLAMA_BASE_URL=
|
|
|
|
# === Telegram Alerts (optional, requires LLM) ===
|
|
# Create a bot via @BotFather, get chat ID via @userinfobot
|
|
TELEGRAM_BOT_TOKEN=
|
|
TELEGRAM_CHAT_ID=
|