mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
add tts container
This commit is contained in:
parent
b5008c4382
commit
fd765be12a
2 changed files with 20 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue