diff --git a/docker-compose.macmini.yml b/docker-compose.macmini.yml index 998c510f8..488c76c69 100644 --- a/docker-compose.macmini.yml +++ b/docker-compose.macmini.yml @@ -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: .