Files
transcribator/k8s/transcribator.yaml
Mikhail Kilin 17eb61b259
All checks were successful
ci/woodpecker/push/deploy Pipeline was successful
Add /speak command for multi-voice TTS in group chats
- /speak <voice> enables TTS with selected voice (irina, denis, dmitri)
- /speak stop disables TTS in the chat
- Private chats keep always-on TTS behavior
- Add PIPER_VOICES env var for voice-to-URL mapping
- Add chat type field to distinguish private/group chats

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 00:56:30 +03:00

54 lines
1.4 KiB
YAML

apiVersion: v1
kind: Namespace
metadata:
name: transcribator
---
apiVersion: v1
kind: Secret
metadata:
name: transcribator-secret
namespace: transcribator
type: Opaque
stringData:
TELEGRAM_BOT_TOKEN: "REPLACE_ME"
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: transcribator
namespace: transcribator
spec:
replicas: 1
selector:
matchLabels:
app: transcribator
template:
metadata:
labels:
app: transcribator
spec:
containers:
- name: transcribator
image: git.mikhailkilin.ru/killingdruid/transcribator:86acdfab28d8725df0fda2e4c368845b4887a7e7
env:
- name: TELEGRAM_BOT_TOKEN
valueFrom:
secretKeyRef:
name: transcribator-secret
key: TELEGRAM_BOT_TOKEN
- name: WHISPER_URL
value: "http://whisper.whisper.svc:8000"
- name: WHISPER_LANGUAGE
value: "ru"
- name: PIPER_URL
value: "http://piper.piper.svc:5000"
- name: PIPER_VOICES
value: "irina=http://piper.piper.svc:5000,denis=http://piper-denis.piper.svc:5000,dmitri=http://piper-dmitri.piper.svc:5000"
resources:
requests:
memory: "32Mi"
cpu: "10m"
limits:
memory: "128Mi"
cpu: "500m"