From e8613c30a10604dc57dddf11241520929c4808e9 Mon Sep 17 00:00:00 2001 From: "Trez.One" Date: Sun, 7 Dec 2025 09:07:27 -0500 Subject: [PATCH] Adding Piper and Whisper services. --- docker-compose.yml | 73 ++++++++++++++++++++++------------------------ 1 file changed, 35 insertions(+), 38 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 47be864..601c26c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -50,44 +50,6 @@ services: restart: unless-stopped volumes: - /var/run/docker.sock:/var/run/docker.sock - hivemind_cli: - container_name: hivemind_cli - hostname: hivemind_cli - restart: unless-stopped - image: docker.io/smartgic/hivemind-cli:alpha@sha256:896cb56b9c5b1a4eaeba0cb7c53ae173a4b0f777163cbd2573e2b183cbf41ceb - pull_policy: always - tty: true - environment: - TZ: ${TZ} - network_mode: host - volumes: - - ${ULTIMA_DOCKER_DIR}/hivemind/config:/home/${HIVEMIND_USER}/.config/hivemind:z - - ${ULTIMA_DOCKER_DIR}/hivemind/share:/home/${HIVEMIND_USER}/.local/share/hivemind:z - depends_on: - - hivemind_listener - hivemind_listener: - container_name: hivemind_listener - hostname: hivemind_listener - restart: unless-stopped - image: docker.io/smartgic/hivemind-listener:alpha@sha256:23f781ca805a81acebc16ecba7714df8214afa9e3b1929a7f1338fe1e0425103 - pull_policy: ${PULL_POLICY:-always} - tty: true - environment: - TZ: ${TZ} - network_mode: host - volumes: - - ${HIVEMIND_CONFIG_FOLDER}:/home/${HIVEMIND_USER}/.config/hivemind:z - - ${HIVEMIND_SHARE_FOLDER}:/home/${HIVEMIND_USER}/.local/share/hivemind:z - - ${HIVEMIND_CONFIG_FOLDER}/server.json:/home/${HIVEMIND_USER}/.config/hivemind-core/server.json - depends_on: - ovos_core: - condition: service_started - healthcheck: - test: ["CMD", "pgrep", "-f", "hivemind-listener"] - interval: 30s - timeout: 10s - retries: 3 - start_period: 15s meilisearch: container_name: meilisearch environment: @@ -109,6 +71,25 @@ services: restart: unless-stopped volumes: - ollama:/root/.ollama + piper: + image: lscr.io/linuxserver/piper:latest + container_name: piper + environment: + - PUID=1000 + - PGID=1000 + - TZ=Etc/UTC + - PIPER_VOICE=en_US-lessac-medium + - LOCAL_ONLY= #optional + - PIPER_LENGTH=1.0 #optional + - PIPER_NOISE=0.667 #optional + - PIPER_NOISEW=0.333 #optional + - PIPER_SPEAKER=0 #optional + - NO_STREAMING= #optional + volumes: + - ${ULTIMA_DOCKER_DIR}/faster-whisper/:/config + ports: + - 10200:10200 + restart: unless-stopped portainer-agent: container_name: portainer_agent image: portainer/agent:latest@sha256:d2e5f753e8c668f7a7916621e64d6535f212b0f6ade5389a6fcc1f6830405ccf @@ -152,6 +133,22 @@ services: volumes: - ${ULTIMA_DOCKER_DIR}/stable-diffusion-webui/data:/data - ${ULTIMA_DOCKER_DIR}/stable-diffusion-webui/output:/output + faster-whisper: + container_name: faster-whisper + environment: + PUID: ${PUID} + PGID: ${PGID} + TZ: ${TZ} + WHISPER_MODEL: large + LOCAL_ONLY: #optional + WHISPER_BEAM: 1 #optional + WHISPER_LANG: en #optional + image: lscr.io/linuxserver/faster-whisper:latest + ports: + - "10300:10300" + restart: unless-stopped + volumes: + - ${ULTIMA_DOCKER_DIR}/faster-whisper/:/config volumes: ollama: name: ollama