Files
TradarrV2/compose.ingestion-bench.live.yml

39 lines
1.3 KiB
YAML

# 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}