add read me

This commit is contained in:
2026-01-09 10:28:44 +11:00
commit edaf914b73
13417 changed files with 2952119 additions and 0 deletions

31
docker-compose.yml Normal file
View File

@@ -0,0 +1,31 @@
services:
whisper-api:
image: python:3.9-slim
container_name: voice_whisper
restart: unless-stopped
working_dir: /app
volumes:
- ./app.py:/app/app.py
command: >
sh -c "pip install flask faster-whisper && python app.py"
ports:
- "5000:5000"
voice-bridge:
image: python:3.9-slim
container_name: voice_bridge
restart: unless-stopped
deploy:
resources:
limits:
memory: 500M
depends_on:
- whisper-api
working_dir: /app
volumes:
- ./mqtt_audio_bridge.py:/app/mqtt_audio_bridge.py
environment:
- XDG_CACHE_HOME=/root/.cache
command: >
sh -c "pip install paho-mqtt requests 'numpy<2' openwakeword tflite-runtime &&
python -c 'import openwakeword; openwakeword.utils.download_models()' &&
python mqtt_audio_bridge.py"