29 lines
800 B
YAML
29 lines
800 B
YAML
services:
|
|
realtime_voice:
|
|
image: ${IMAGE_REPO:-realtime_voice_service}:${IMAGE_TAG:-latest}
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
container_name: realtime_voice
|
|
env_file:
|
|
- .env
|
|
ports:
|
|
- "${REALTIME_VOICE_HTTP_PORT:-8000}:${REALTIME_VOICE_HTTP_PORT:-8000}"
|
|
- "${REALTIME_VOICE_AUDIOSOCKET_PORT:-9092}:${REALTIME_VOICE_AUDIOSOCKET_PORT:-9092}"
|
|
- "${REALTIME_VOICE_AUDIOSOCKET_ALIAS_PORT:-9019}:${REALTIME_VOICE_AUDIOSOCKET_PORT:-9092}"
|
|
dns:
|
|
- 1.1.1.1
|
|
- 8.8.8.8
|
|
extra_hosts:
|
|
- "api.elevenlabs.io:34.8.184.191"
|
|
- "host.docker.internal:host-gateway"
|
|
restart: unless-stopped
|
|
networks:
|
|
- default
|
|
- call_center_net
|
|
|
|
networks:
|
|
call_center_net:
|
|
name: call-center_default
|
|
external: true
|