This commit is contained in:
2024-07-19 16:08:35 +01:00
parent c7665f33f5
commit aa5bfa524c
5 changed files with 37 additions and 9 deletions

View File

@@ -1,9 +1,11 @@
#! /bin/bash
scriptPath="$(dirname "$(readlink -f "$0")")"
currentPath=$PWD
cd $scriptPath
docker-compose pull
docker-compose up --force-recreate --build -d
cd $currentPath

View File

@@ -33,7 +33,7 @@ server {
location ^~ /lms/ {
proxy_pass http://homesrv01.dev.lan:9000/;
proxy_pass http://localhost:9000/;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

View File

@@ -7,4 +7,4 @@ 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 pt
--model tiny.en --language en --beam-size 2