62 lines
1.7 KiB
YAML
62 lines
1.7 KiB
YAML
services:
|
|
pihole:
|
|
container_name: pihole
|
|
image: pihole/pihole:latest
|
|
restart: always
|
|
network_mode: host
|
|
labels:
|
|
- "com.centurylinklabs.watchtower.enable=false"
|
|
environment:
|
|
TZ: "America/Chicago"
|
|
FTLCONF_misc_dnsmasq_lines: "dns-forward-max=300"
|
|
volumes:
|
|
- ./pihole:/etc/pihole
|
|
|
|
# Wyoming Protocol for Home Assistant
|
|
faster-whisper:
|
|
image: lscr.io/linuxserver/faster-whisper:latest
|
|
container_name: faster-whisper
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- TZ=America/Chicago
|
|
- WHISPER_MODEL=base
|
|
- WHISPER_LAN=en
|
|
volumes:
|
|
- ./faster-whisper/config:/config
|
|
ports:
|
|
- 10300:10300
|
|
restart: unless-stopped
|
|
|
|
# OpenAI-Compatible API for general use
|
|
faster-whisper-server:
|
|
image: fedirz/faster-whisper-server:latest-cpu
|
|
container_name: faster-whisper-server
|
|
ports:
|
|
- "8000:8000"
|
|
volumes:
|
|
- ./faster-whisper/models:/root/.cache/huggingface
|
|
environment:
|
|
- WHISPER_MODEL=base
|
|
restart: unless-stopped
|
|
|
|
# Open WebUI with voice-to-text integration
|
|
open-webui:
|
|
image: ghcr.io/open-webui/open-webui:main
|
|
container_name: open-webui
|
|
ports:
|
|
- "3000:8080"
|
|
volumes:
|
|
- ./open-webui/data:/app/backend/data
|
|
environment:
|
|
- TZ=America/Chicago
|
|
- OLLAMA_BASE_URL=http://192.168.88.41:11434
|
|
# Voice-to-Text (STT) Settings
|
|
- WHISPER_API_BASE_URL=http://faster-whisper-server:8000/v1
|
|
- AUDIO_STT_ENGINE=openai
|
|
- AUDIO_STT_OPENAI_API_BASE_URL=http://faster-whisper-server:8000/v1
|
|
- AUDIO_STT_OPENAI_API_KEY=not-needed
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
restart: unless-stopped
|