Add MQTT-based STT worker for VAD segments
Some checks failed
Build and Push EVS Bridge Image / docker (push) Has been cancelled

This commit is contained in:
Kai
2026-02-13 17:49:26 +01:00
parent fd1bfb4786
commit 5294c24b08
7 changed files with 292 additions and 2 deletions

26
stt-worker/Dockerfile Normal file
View File

@@ -0,0 +1,26 @@
FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app.py .
ENV LOG_LEVEL=INFO \
MQTT_HOST=localhost \
MQTT_PORT=1883 \
MQTT_USER= \
MQTT_PASSWORD= \
MQTT_BASE_TOPIC=evs \
MQTT_VAD_TOPIC=evs/+/vad_segment \
MQTT_TRANSCRIPT_TOPIC_TEMPLATE=evs/{device_id}/transcript \
MQTT_STT_ERROR_TOPIC_TEMPLATE=evs/{device_id}/stt_error \
STT_MODEL=small \
STT_DEVICE=cpu \
STT_COMPUTE_TYPE=int8 \
STT_BEAM_SIZE=1 \
STT_LANGUAGE=de \
STT_CONDITION_ON_PREV_TEXT=false
CMD ["python", "app.py"]