# PostgreSQL Configuration POSTGRES_HOST=localhost POSTGRES_PORT=5432 POSTGRES_DB=polymarket_tracker POSTGRES_USER=tracker POSTGRES_PASSWORD=dev_password # Canonical URL used by both the application and Alembic migrations DATABASE_URL=postgresql+psycopg://tracker:dev_password@localhost:5432/polymarket_tracker # Redis Configuration REDIS_HOST=localhost REDIS_PORT=6379 REDIS_URL=redis://localhost:6379 # Optional: Development tool ports ADMINER_PORT=8080 REDIS_INSIGHT_PORT=5540 # Polygon RPC Configuration POLYGON_RPC_URL=https://polygon-rpc.com POLYGON_FALLBACK_RPC_URL=https://polygon-bor.publicnode.com # Polymarket public trade source (anonymous, read-only; no credential required) # The tracker polls the documented public trades query near-real-time. Defaults shown. POLYMARKET_TRADES_URL=https://data-api.polymarket.com/trades # all = every public participant observation (default); taker-only = the provider's taker subset POLYMARKET_TRADES_COVERAGE=all # Seconds between acquisition cycles (1-60). 5 s uses about 1% of the published request limit. POLYMARKET_TRADES_POLL_INTERVAL_SECONDS=5 # Identity retention and loss-detection horizon in seconds (60-3600); not a completeness guarantee. POLYMARKET_TRADES_RECOVERY_HORIZON_SECONDS=600 # POLYMARKET_WS_URL is deprecated: it is accepted only with a ws:// or wss:// scheme, warns at load # and in --config-check, and is never used for acquisition. Leave it unset. # Alert Webhooks (optional) DISCORD_WEBHOOK_URL= TELEGRAM_BOT_TOKEN= TELEGRAM_CHAT_ID=