add services wyoming-faster-whisper, wyoming-piper
This commit is contained in:
30
README.md
30
README.md
@@ -5,6 +5,18 @@ Welcome to homesrv01.dev.lan git page.
|
||||
## OS
|
||||
|
||||
Currently hosted on a proxmox ubuntu container.
|
||||
``` bash
|
||||
# cat /etc/pve/lxc/105.conf
|
||||
arch: amd64
|
||||
cores: 2
|
||||
features: fuse=1,keyctl=1,nesting=1
|
||||
hostname: homesrv01
|
||||
memory: 2000
|
||||
onboot: 1
|
||||
ostype: ubuntu
|
||||
swap: 4000
|
||||
rootfs: local-lvm:vm-105-disk-0,size=32G
|
||||
unprivileged: 1
|
||||
|
||||
```bash
|
||||
# lsb_release -a
|
||||
@@ -173,5 +185,23 @@ git glone ssh://git@git.limbosolutions.com:2222/marcio.fernandes/mosquitto.git .
|
||||
```
|
||||
|
||||
|
||||
## wyoming-faster-whisper
|
||||
|
||||
https://github.com/home-assistant/addons/blob/master/whisper/DOCS.md
|
||||
|
||||
#### Setup & Update
|
||||
``` bash
|
||||
services/wyoming-faster-whisper/docker-run.sh
|
||||
```
|
||||
|
||||
## wyoming-piper
|
||||
|
||||
#### Setup & Update
|
||||
``` bash
|
||||
services/wyoming-piper/docker-run.sh
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
# homesrv01.dev.lan
|
||||
|
||||
- CT Container - Ubuntu ubuntu-22.10-standard_22.10-1_amd64.tar.zst
|
||||
|
||||
## Params
|
||||
|
||||
``` bash
|
||||
# cat /etc/pve/lxc/105.conf
|
||||
arch: amd64
|
||||
cores: 2
|
||||
features: fuse=1,keyctl=1,nesting=1
|
||||
hostname: homesrv01
|
||||
memory: 2000
|
||||
onboot: 1
|
||||
ostype: ubuntu
|
||||
swap: 4000
|
||||
rootfs: local-lvm:vm-105-disk-0,size=32G
|
||||
unprivileged: 1
|
||||
|
||||
``
|
||||
@@ -8,6 +8,8 @@ doWork(){
|
||||
$scriptPath/../services/telegraf/docker-run.sh
|
||||
$scriptPath/../services/code-server/docker-run.sh
|
||||
$scriptPath/../services/nginx/docker-run.sh
|
||||
$scriptPath/../services/wyoming-faster-whisper/docker-run.sh
|
||||
$scriptPath/../services/wyoming-piper/docker-run.sh
|
||||
docker image prune -f
|
||||
}
|
||||
doWork 2>&1 | logger -s -t "auto-update"
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
## Environment variables can be used as tags, and throughout the config file
|
||||
# user = "$USER"
|
||||
|
||||
|
||||
|
||||
[agent]
|
||||
hostname = "homesrv01"
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#! /bin/bash
|
||||
# must be executed from repo/docker/telegraf
|
||||
# does not work using compose on portainer even if using external volume hostfs
|
||||
|
||||
docker pull telegraf
|
||||
docker container stop telegraf
|
||||
docker container remove telegraf
|
||||
|
||||
1
services/wyoming-faster-whisper/.gitignore
vendored
Normal file
1
services/wyoming-faster-whisper/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
volumes/data/
|
||||
10
services/wyoming-faster-whisper/docker-run.sh
Executable file
10
services/wyoming-faster-whisper/docker-run.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
docker pull rhasspy/wyoming-whisper
|
||||
docker stop wyoming-faster-whisper
|
||||
docker rm wyoming-faster-whisper
|
||||
|
||||
scriptPath="$(dirname "$(readlink -f "$0")")"
|
||||
|
||||
docker run -dt -p 10300:10300 \
|
||||
--name wyoming-faster-whisper \
|
||||
-v ${scriptPath}//volumes/data:/data rhasspy/wyoming-whisper \
|
||||
--model tiny-int8 --language en
|
||||
1
services/wyoming-piper/.gitignore
vendored
Normal file
1
services/wyoming-piper/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
volumes/data/
|
||||
8
services/wyoming-piper/docker-run.sh
Executable file
8
services/wyoming-piper/docker-run.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
docker pull rhasspy/wyoming-piper
|
||||
docker stop wyoming-piper
|
||||
docker rm wyoming-piper
|
||||
|
||||
scriptPath="$(dirname "$(readlink -f "$0")")"
|
||||
|
||||
docker run -dt --name wyoming-piper -p 10200:10200 -v ${scriptPath}/volumes/data:/data rhasspy/wyoming-piper \
|
||||
--voice en_US-lessac-medium
|
||||
Reference in New Issue
Block a user