Initial FRIDAY Voice Console scaffold
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
SPEACHES_URL=http://192.168.86.150:8000
|
||||
HERMES_COMMAND=hermes
|
||||
HERMES_SOURCE=friday-voice
|
||||
WHISPER_MODEL=deepdml/faster-whisper-large-v3-turbo-ct2
|
||||
TTS_MODEL=speaches-ai/Kokoro-82M-v1.0-ONNX
|
||||
TTS_VOICE=af_nova
|
||||
SPEAKER_CONFIRMED_THRESHOLD=0.85
|
||||
SPEAKER_PROBABLE_THRESHOLD=0.70
|
||||
@@ -0,0 +1,39 @@
|
||||
services:
|
||||
friday-voice:
|
||||
build:
|
||||
context: /opt/friday-voice
|
||||
dockerfile: Dockerfile
|
||||
image: friday-voice:latest
|
||||
container_name: friday-voice
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8320:8320"
|
||||
volumes:
|
||||
- /mnt/docker-data/configs/friday-voice:/data
|
||||
environment:
|
||||
- DATA_DIR=/data
|
||||
- SPEACHES_URL=${SPEACHES_URL:-http://192.168.86.150:8000}
|
||||
- HERMES_COMMAND=${HERMES_COMMAND:-hermes}
|
||||
- HERMES_SOURCE=${HERMES_SOURCE:-friday-voice}
|
||||
- WHISPER_MODEL=${WHISPER_MODEL:-deepdml/faster-whisper-large-v3-turbo-ct2}
|
||||
- TTS_MODEL=${TTS_MODEL:-speaches-ai/Kokoro-82M-v1.0-ONNX}
|
||||
- TTS_VOICE=${TTS_VOICE:-af_nova}
|
||||
- SPEAKER_CONFIRMED_THRESHOLD=${SPEAKER_CONFIRMED_THRESHOLD:-0.85}
|
||||
- SPEAKER_PROBABLE_THRESHOLD=${SPEAKER_PROBABLE_THRESHOLD:-0.70}
|
||||
labels:
|
||||
- "com.centurylinklabs.watchtower.enable=false"
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-fsS", "http://127.0.0.1:8320/health"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 20s
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "20m"
|
||||
max-file: "3"
|
||||
|
||||
networks:
|
||||
default:
|
||||
name: friday-voice
|
||||
@@ -0,0 +1,30 @@
|
||||
http:
|
||||
routers:
|
||||
friday-voice:
|
||||
rule: "Host(`friday.hobbs.farm`)"
|
||||
entryPoints:
|
||||
- websecure
|
||||
middlewares:
|
||||
- security-headers-allow-mic
|
||||
service: friday-voice
|
||||
tls:
|
||||
certResolver: letsencrypt
|
||||
friday-voice-http:
|
||||
rule: "Host(`friday.hobbs.farm`)"
|
||||
entryPoints:
|
||||
- web
|
||||
middlewares:
|
||||
- friday-voice-https-redirect
|
||||
service: friday-voice
|
||||
|
||||
middlewares:
|
||||
friday-voice-https-redirect:
|
||||
redirectScheme:
|
||||
scheme: https
|
||||
permanent: true
|
||||
|
||||
services:
|
||||
friday-voice:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "http://192.168.86.192:8320"
|
||||
Reference in New Issue
Block a user