fix(buyer): set TTS_PIPER_BASE_URL on mainnet so demo TTS works

The mainnet buyer compose never set TTS_PIPER_BASE_URL (only testnet did),
so the buyer booted with an empty value and POST /v1/synth-speech — the
no-escrow demo proxy behind the "PiperTTS demo" tile — returned 503
"booted without TTS_PIPER_BASE_URL". Point it at the private piper backend
over internal docker DNS (buyer is already on marketplace-mainnet-net).

Verified: authenticated POST /v1/synth-speech returns 200 audio/mpeg.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
david
2026-06-09 14:32:21 +02:00
parent 599033bef1
commit b2866506fc

View File

@@ -21,6 +21,10 @@ services:
environment:
INDEXER_URL: http://marketplace-mainnet-indexer:8090
BUYER_PORT: "8070"
# PiperTTS demo (Path B): direct-proxy target for /v1/synth-speech. Piper is
# private on marketplace-mainnet-net (no public host), so use internal DNS.
# Without this the demo TTS tile 503s ("booted without TTS_PIPER_BASE_URL").
TTS_PIPER_BASE_URL: http://marketplace-mainnet-tts-piper:8000
# Pin the archive dir so it lands on the persistent volume below — keeps
# the response archive + PDF job store (past summaries) across container
# recreation/redeploys.