290da02936
Passwords and tokens in compose defaults, .env files, and servers.json for quick NAS restore without manual secret setup. Co-authored-by: Cursor <cursoragent@cursor.com>
39 lines
1023 B
YAML
39 lines
1023 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:-WaQTUw2t}
|
|
- PG_DATABASE=homelab
|
|
- NEO4J_URI=neo4j://localhost:49153
|
|
- NEO4J_USER=neo4j
|
|
- NEO4J_PASSWORD=${NEO4J_PASSWORD:-WaQTUw2t}
|
|
|
|
volumes:
|
|
- whisper-cache:/root/.cache/huggingface
|
|
|
|
volumes:
|
|
whisper-cache:
|