Adding Piper and Whisper services.

This commit is contained in:
2025-12-07 09:07:27 -05:00
parent b7a3bc7fbe
commit e8613c30a1
+35 -38
View File
@@ -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