wyoming service
All checks were successful
deploy / deploy (push) Successful in 2s

This commit is contained in:
2024-08-25 10:47:58 +01:00
parent 1d157000d0
commit 7711db2bc1
8 changed files with 6 additions and 63 deletions

View File

@@ -22,10 +22,7 @@ Welcome to homesrv01.dev.lan git page.
- [home assistant](#home-assistant)
- [LMS](#lms)
- [Mosquitto](#mosquitto)
- [wyoming-faster-whisper](#wyoming-faster-whisper)
- [Setup \& Update](#setup--update-3)
- [wyoming-piper](#wyoming-piper)
- [Setup \& Update](#setup--update-4)
- [Wyoming](#wyoming)
## OS
@@ -158,38 +155,8 @@ services/code-server/docker-run.sh
[Git Repo](https://git.limbosolutions.com/marcio.fernandes/mosquitto)
[from dev machine](services/mosquitto/README.md)
### Wyoming
for setup execute on portainer docker compose then mount on code server
[Home assistant](https://github.com/home-assistant/addons/blob/master/whisper/DOCS.md)
``` bash
- mosquitto_config:/config/workspace/host/repos/homesrv01.dev.lan/services/mosquitto/volumes/config
- mosquitto_data:/config/workspace/host/repos/homesrv01.dev.lan/service/mosquitto/volumes/data
```
on code server from repo root folder
``` bash
cd services
mkdir mosquitto
cd mosquitto
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
```
[Docker compose](./services/wyoming/docker-compose.yaml)

View File

@@ -3,10 +3,7 @@ scriptPath="$(dirname "$(readlink -f "$0")")"
doWork(){
apt update -y
apt upgrade -y
$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"

View File

@@ -3,7 +3,7 @@ scriptPath="$(dirname "$(readlink -f "$0")")"
currentPath=$PWD
cd $scriptPath
docker-compose pull
docker-compose up --force-recreate --build -d
docker compose pull
docker compose up --force-recreate --build -d
cd $currentPath

View File

@@ -1 +0,0 @@
volumes/data/

View File

@@ -1,10 +0,0 @@
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.en --language en --beam-size 2

View File

@@ -1 +0,0 @@
volumes/data/

View File

@@ -1,8 +0,0 @@
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

View File

@@ -13,7 +13,6 @@ services:
image: rhasspy/wyoming-piper
restart: unless-stopped
volumes:
- whisper_data:/data
- piper_data:/data
ports:
- 10200:10200