docker-compose/home_stack/docker-compose.yml
2024-10-03 17:29:25 +02:00

63 lines
1.6 KiB
YAML

---
services:
homeassistant:
image: ghcr.io/home-assistant/home-assistant:stable
container_name: homeassistant
environment:
- TZ=Europe/Berlin
volumes:
- ./volumes/homeassistant/config:/config
- /etc/localtime:/etc/localtime:ro
network_mode: host
restart: unless-stopped
zigbee2mqtt:
image: koenkk/zigbee2mqtt
container_name: zigbee2mqtt
environment:
- TZ=Europe/Berlin
volumes:
- ./volumes/zigbee2mqtt/data:/app/data
- /run/udev:/run/udev:ro
ports:
- "127.0.0.1:38080:8080"
group_add:
- dialout
devices:
# Make sure this matched your adapter location
- /dev/ttyACM0:/dev/ttyACM0
restart: unless-stopped
mqtt:
image: eclipse-mosquitto:2.0
container_name: mqtt
command: "mosquitto -c /mosquitto-no-auth.conf"
environment:
- TZ=Europe/Berlin
volumes:
- ./volumes/mosquitto/conf:/mosquitto/conf
- ./volumes/mosquitto/data:/mosquitto/data
- ./volumes/mosquitto/logs:/mosquitto/log
ports:
- "127.0.0.1:1883:1883"
restart: unless-stopped
piper:
image: rhasspy/wyoming-piper
container_name: piper
command: --voice en-gb-southern_english_female-low
volumes:
- ./volumes/piper/data:/data
ports:
- "127.0.0.1:10200:10200"
restart: unless-stopped
whisper:
image: rhasspy/wyoming-whisper
container_name: whisper
command: --model tiny-int8 --language en
volumes:
- ./volumes/whisper/data:/data
ports:
- "127.0.0.1:10300:10300"
restart: unless-stopped