fix: keep voice-service on bridge networking to avoid port conflict
iconsulting-llm-gateway already occupies port 3008 on the host. voice-service only has a single TCP port (no docker-proxy overhead), so bridge networking with 13008:3008 mapping is sufficient. Only livekit-server and voice-agent need host mode (UDP port ranges). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
68ee2516d5
commit
7fb0168dc5
|
|
@ -361,19 +361,22 @@ services:
|
|||
condition: service_healthy
|
||||
|
||||
# ===== Voice Service (LiveKit token + Twilio) =====
|
||||
# NOTE: voice-service stays on bridge networking (single TCP port, no proxy overhead).
|
||||
# Only livekit-server and voice-agent need host mode (UDP port ranges).
|
||||
voice-service:
|
||||
build:
|
||||
context: ../../packages/services/voice-service
|
||||
container_name: it0-voice-service
|
||||
restart: unless-stopped
|
||||
network_mode: host
|
||||
ports:
|
||||
- "13008:3008"
|
||||
volumes:
|
||||
- ../../data/voice-models/huggingface:/root/.cache/huggingface
|
||||
- ../../data/voice-models/torch-hub:/root/.cache/torch/hub
|
||||
environment:
|
||||
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
|
||||
- ANTHROPIC_BASE_URL=${ANTHROPIC_BASE_URL}
|
||||
- AGENT_SERVICE_URL=http://127.0.0.1:13002
|
||||
- AGENT_SERVICE_URL=http://agent-service:3002
|
||||
- WHISPER_MODEL=${WHISPER_MODEL:-base}
|
||||
- KOKORO_MODEL=${KOKORO_MODEL:-kokoro-82m}
|
||||
- KOKORO_VOICE=${KOKORO_VOICE:-zf_xiaoxiao}
|
||||
|
|
@ -396,6 +399,8 @@ services:
|
|||
start_period: 120s
|
||||
depends_on:
|
||||
- agent-service
|
||||
networks:
|
||||
- it0-network
|
||||
|
||||
# ===== Frontend =====
|
||||
web-admin:
|
||||
|
|
|
|||
Loading…
Reference in New Issue