Files
homelab-configs/docker/ha-voice-control/docker-compose.yml
T
mo 21dbee4b53 Add full NAS service catalog for disaster recovery.
Compose files and configs for postgres, adguard, duckdns, homarr, neo4j,
portainer, remotely, and monitoring; RESTORE.md and sync-from-nas script.
Sanitize pgAdmin secrets; document homelab-command as separate repo.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-17 13:15:48 +02:00

39 lines
1007 B
YAML

# docker-compose.yml — HA Voice Control voor Synology NAS
# Plaats op je NAS: /volume1/docker/ha-voice-control/
#
# Bouwen & starten: docker-compose up -d --build
# Stoppen: docker-compose down
# Logs: docker-compose logs -f
services:
ha-voice-control:
build: .
container_name: ha-voice-control
restart: unless-stopped
network_mode: host # directe toegang tot PostgreSQL + Neo4j op de NAS
environment:
- HA_URL=http://192.168.1.235:8123
- HA_TOKEN=${HA_TOKEN:-}
- WHISPER_MODE=local
- WHISPER_MODEL=tiny
- WHISPER_DEVICE=cpu
- WEB_HOST=0.0.0.0
- WEB_PORT=8765
- CORS_ORIGINS=*
- PG_HOST=localhost
- PG_PORT=5433
- PG_USER=mo
- PG_PASSWORD=${PG_PASSWORD:?}
- PG_DATABASE=homelab
- NEO4J_URI=neo4j://localhost:49153
- NEO4J_USER=neo4j
- NEO4J_PASSWORD=${NEO4J_PASSWORD:-}
volumes:
- whisper-cache:/root/.cache/huggingface
volumes:
whisper-cache: