add tts container

This commit is contained in:
Alec Gorge 2025-04-04 15:48:24 -07:00
parent b5008c4382
commit fd765be12a
2 changed files with 20 additions and 0 deletions

View file

@ -36,6 +36,7 @@ LOCAL_MINIO_URL=http://localhost:1010
# Redis
REDIS_URL=redis://redis:6379/0
REDIS_TTS_URL=redis://redis:6379/1
#MAIL
WATCHER_API_KEY=mail-api-key

View file

@ -44,6 +44,25 @@ services:
migrate:
condition: service_completed_successfully
tts:
image: "ghcr.io/omnivore-app/sh-backend:latest"
container_name: "omnivore-tts"
command: ["yarn", "workspace", "@omnivore/text-to-speech-handler", "start_streaming"]
ports:
- "5000:8080"
healthcheck:
test: ["CMD-SHELL", "nc -z 0.0.0.0 8080 || exit 1"]
interval: 15s
timeout: 90s
retries: 6
env_file:
- .env
depends_on:
redis:
condition: service_healthy
migrate:
condition: service_completed_successfully
queue-processor:
image: "ghcr.io/omnivore-app/sh-queue-processor:latest"
container_name: "omnivore-queue-processor"