local-web-search/.env.example
User e2b329b2bb M1: scrape spine — renderer, extractor, orchestrator /scrape, compose, health, render cache
- renderer: Node/Playwright, single browser + pooled contexts with concurrency
  cap and FIFO queue, Redis render cache (graceful no-op without Redis)
- extractor: FastAPI + Trafilatura, HTML -> {title, text, metadata}
- orchestrator: /scrape (render -> extract) with per-stage trace, aggregated
  /health, structured JSON logging on all services
- docker-compose for orchestrator/renderer/extractor/redis with healthchecks

Verified locally: end-to-end scrape of example.com and Wikipedia; error paths
for unreachable hosts and bad schemes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-05 22:02:38 -07:00

14 lines
351 B
Text

# Copy to .env and adjust. All values shown are the defaults used in compose.
# Public port for the orchestrator (MCP + REST). Only exposed service.
ORCHESTRATOR_PORT=8000
# Cache TTLs (seconds)
RENDER_CACHE_TTL=3600
SEARCH_CACHE_TTL=300
EXTRACT_CACHE_TTL=3600
# Renderer
RENDER_CONCURRENCY=4
RENDER_TIMEOUT_MS=30000
RENDER_WAIT_POLICY=networkidle