From 47ac49a03992b0a79038db12c7416ec3790a83f1 Mon Sep 17 00:00:00 2001 From: jeremy Date: Sat, 11 Jul 2026 11:19:12 -0500 Subject: [PATCH] fix: anchor friday-voice gitignore to repo root The unanchored pattern also swallowed compose/hf-pdocker-01/friday-voice/. Only the top-level nested repo should be ignored. Co-Authored-By: Claude Opus 4.8 --- .gitignore | 2 +- .../hf-pdocker-01/friday-voice/.env.example | 8 ++++ .../friday-voice/docker-compose.yml | 39 +++++++++++++++++++ 3 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 compose/hf-pdocker-01/friday-voice/.env.example create mode 100644 compose/hf-pdocker-01/friday-voice/docker-compose.yml diff --git a/.gitignore b/.gitignore index 9481aee..7b84d4e 100644 --- a/.gitignore +++ b/.gitignore @@ -23,4 +23,4 @@ Thumbs.db .superpowers/ # Has its own repo: git.hobbs.farm/jeremy/friday-voice.git -friday-voice/ +/friday-voice/ diff --git a/compose/hf-pdocker-01/friday-voice/.env.example b/compose/hf-pdocker-01/friday-voice/.env.example new file mode 100644 index 0000000..3c28131 --- /dev/null +++ b/compose/hf-pdocker-01/friday-voice/.env.example @@ -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 diff --git a/compose/hf-pdocker-01/friday-voice/docker-compose.yml b/compose/hf-pdocker-01/friday-voice/docker-compose.yml new file mode 100644 index 0000000..edee640 --- /dev/null +++ b/compose/hf-pdocker-01/friday-voice/docker-compose.yml @@ -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