feat(scraper): bound article enrichment diagnostics (#40)

This commit is contained in:
2026-11-25 00:07:45 +01:00
parent a3c70670f6
commit 6883b3976b
53 changed files with 4049 additions and 68 deletions

View File

@ -0,0 +1,38 @@
# Deliberate opt-in file + profile + CLI gate. Never used by the offline bench.
services:
byparr:
profiles: ["live"]
image: ghcr.io/thephaseless/byparr:latest
logging:
driver: none
ingestion-scraper:
profiles: ["live"]
build:
context: ./scraper-service
environment:
BYPARR_URL: http://byparr:8191
depends_on: [byparr]
logging:
driver: none
tmpfs: ["/tmp"]
bench-live:
profiles: ["live"]
image: tradarr-ingestion-bench:ticket40
build:
context: .
dockerfile: backend/Dockerfile.ingestion-bench
command: ["--mode=live", "--allow-live", "--limit=3"]
environment:
INGESTION_SCRAPER_URL: http://ingestion-scraper:3001
INGESTION_YAHOO_SYMBOL: ${INGESTION_YAHOO_SYMBOL:-AAPL}
BLOOMBERG_USERNAME_FILE: /run/secrets/bloomberg_username
BLOOMBERG_PASSWORD_FILE: /run/secrets/bloomberg_password
secrets: [bloomberg_username, bloomberg_password]
depends_on: [ingestion-scraper]
read_only: true
tmpfs: ["/tmp"]
secrets:
bloomberg_username:
file: ${BLOOMBERG_USERNAME_FILE:?Path to existing private credential file required for live mode}
bloomberg_password:
file: ${BLOOMBERG_PASSWORD_FILE:?Path to existing private credential file required for live mode}