homeassistant whisper and piper

Signed-off-by: Michael Thomson <michael@michaelthomson.dev>
This commit is contained in:
2024-10-10 16:29:31 -04:00
parent 965aaf7277
commit 7b117a2200
4 changed files with 36 additions and 0 deletions

View File

@@ -35,6 +35,24 @@ spec:
- NET_ADMIN
- NET_RAW
hostNetwork: true
- name: whisper
image: lscr.io/linuxserver/faster-whisper:latest
imagePullPolicy: Always
envFrom:
- configMapRef:
name: whisper-config
optional: false
ports:
- containerPort: 10300
- name: piper
image: lscr.io/linuxserver/piper:latest
imagePullPolicy: Always
envFrom:
- configMapRef:
name: piper-config
optional: false
ports:
- containerPort: 10200
volumes:
- name: config
persistentVolumeClaim:

View File

@@ -0,0 +1,9 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: piper-config
namespace: homeassistant
data:
PUID: "1000"
PGID: "1000"
PIPER_VOICE: "en_US-lessac-medium"

View File

@@ -0,0 +1,9 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: whisper-config
namespace: homeassistant
data:
PUID: "1000"
PGID: "1000"
WHISPER_MODEL: "tiny-int8"