chamges
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user