71 lines
2.1 KiB
YAML
71 lines
2.1 KiB
YAML
|
|
app:
|
||
|
|
id: pine-whisper
|
||
|
|
name: Pine Whisper (STT)
|
||
|
|
version: "3.4.1"
|
||
|
|
description: Wyoming-protocol faster-whisper speech-to-text engine. Internal Pine voice-assistant stack member — turns speech captured by a PineVoice satellite into text for Home Assistant Assist.
|
||
|
|
category: home
|
||
|
|
|
||
|
|
# Hyphen name matches the runtime references (stack member table / startup
|
||
|
|
# order) + the live container, so on an existing node the orchestrator ADOPTS
|
||
|
|
# the running engine rather than recreating it (downloaded models under /data
|
||
|
|
# preserved).
|
||
|
|
container_name: pine-whisper
|
||
|
|
|
||
|
|
container:
|
||
|
|
image: docker.io/rhasspy/wyoming-whisper:3.4.1
|
||
|
|
pull_policy: if-not-present
|
||
|
|
network: archy-net
|
||
|
|
network_aliases: [pine-whisper]
|
||
|
|
# The image entrypoint already binds tcp://0.0.0.0:10300; these args only
|
||
|
|
# pick the model + language (mirrors the pine ha-stack.yml compose command).
|
||
|
|
custom_args: ["--model", "base-int8", "--language", "en"]
|
||
|
|
|
||
|
|
dependencies:
|
||
|
|
- storage: 2Gi
|
||
|
|
|
||
|
|
resources:
|
||
|
|
memory_limit: 2Gi
|
||
|
|
|
||
|
|
security:
|
||
|
|
# cap-drop=ALL is applied by the orchestrator. A plain Python Wyoming server
|
||
|
|
# on an unprivileged port needs no added capabilities.
|
||
|
|
capabilities: []
|
||
|
|
readonly_root: false # downloads the whisper model into /data on first run
|
||
|
|
no_new_privileges: true
|
||
|
|
network_policy: isolated
|
||
|
|
|
||
|
|
ports:
|
||
|
|
# Published so Home Assistant (on the pasta net) can reach the engine via
|
||
|
|
# host.containers.internal:10300 (the Wyoming integration endpoint).
|
||
|
|
- host: 10300
|
||
|
|
container: 10300
|
||
|
|
protocol: tcp
|
||
|
|
|
||
|
|
volumes:
|
||
|
|
- type: bind
|
||
|
|
source: /var/lib/archipelago/pine-whisper
|
||
|
|
target: /data
|
||
|
|
options: [rw]
|
||
|
|
|
||
|
|
environment: []
|
||
|
|
|
||
|
|
health_check:
|
||
|
|
type: tcp
|
||
|
|
endpoint: localhost:10300
|
||
|
|
interval: 30s
|
||
|
|
timeout: 5s
|
||
|
|
retries: 5
|
||
|
|
start_period: 60s # first start downloads the model
|
||
|
|
|
||
|
|
metadata:
|
||
|
|
author: Rhasspy / Home Assistant
|
||
|
|
icon: /assets/img/app-icons/pine.svg
|
||
|
|
website: https://github.com/rhasspy/wyoming-faster-whisper
|
||
|
|
repo: https://github.com/rhasspy/wyoming-faster-whisper
|
||
|
|
license: MIT
|
||
|
|
tags:
|
||
|
|
- home
|
||
|
|
- voice
|
||
|
|
- speech-to-text
|
||
|
|
- wyoming
|