mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 00:41:09 +02:00
feat(docker): add matrix-stt-bot to Mac Mini deployment
- Add STT bot container config on port 4021 - Uses mana-stt service via host.docker.internal:3026 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
69f2eaf2e4
commit
c7039356f1
1 changed files with 33 additions and 0 deletions
|
|
@ -1014,6 +1014,39 @@ services:
|
|||
retries: 3
|
||||
start_period: 40s
|
||||
|
||||
matrix-stt-bot:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: services/matrix-stt-bot/Dockerfile
|
||||
image: matrix-stt-bot:local
|
||||
platform: linux/amd64
|
||||
container_name: mana-matrix-bot-stt
|
||||
restart: always
|
||||
depends_on:
|
||||
synapse:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
PORT: 4021
|
||||
TZ: Europe/Berlin
|
||||
MATRIX_HOMESERVER_URL: http://synapse:8008
|
||||
MATRIX_ACCESS_TOKEN: ${MATRIX_STT_BOT_TOKEN}
|
||||
MATRIX_ALLOWED_ROOMS: ${MATRIX_STT_BOT_ROOMS:-}
|
||||
STT_URL: http://host.docker.internal:3026
|
||||
STT_API_KEY: ${STT_INTERNAL_API_KEY:-}
|
||||
DEFAULT_LANGUAGE: de
|
||||
DEFAULT_MODEL: whisper
|
||||
volumes:
|
||||
- matrix_bots_data:/app/data
|
||||
ports:
|
||||
- "4021:4021"
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:4021/health"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 40s
|
||||
|
||||
matrix-onboarding-bot:
|
||||
build:
|
||||
context: .
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue