Files
docker-compose/home-assistant/docker-compose.yaml
2024-08-24 00:28:39 +02:00

70 lines
1.9 KiB
YAML

version: '3'
services:
homeassistant:
container_name: HomeAssistant
network_mode: host
image: "ghcr.io/home-assistant/home-assistant:latest"
volumes:
- /share/docker_data/ha/:/config
# - /dev/ttyUSB0:/dev/ttyUSB0
# - /dev/ttyUSB1:/dev/ttyUSB1
#- /var/log:/logging
- /var/run/docker.sock:/var/run/docker.sock
- /run/dbus:/run/dbus:ro
privileged: true
environment:
- DISABLE_JEMALLOC=value
- TZ=Europe/Bratislava
labels:
com.centurylinklabs.watchtower.enable: true
restart: always
esphome:
container_name: esphome
image: esphome/esphome:latest
volumes:
- /share/docker_data/esphome/config:/config
- /etc/localtime:/etc/localtime:ro
restart: always
privileged: true
network_mode: host
environment:
- USERNAME=jaydee
- PASSWORD=jaydee1
wyoming-piper-en:
image: rhasspy/wyoming-piper
container_name: piper-en
ports:
- 10200:10200
volumes:
- /share/docker_data/piper/english:/data
command: --voice en-gb-southern_english_female-low
wyoming-whisper-en:
image: rhasspy/wyoming-whisper
container_name: whisper-en
ports:
- 10300:10300
volumes:
- /share/docker_data/whisper/english:/data
command: --model tiny-int8 --language en
openwakeword:
container_name: openwakeword
image: rhasspy/wyoming-openwakeword:latest
command:
--preload-model 'kelsey'
--custom-model-dir /custom
--model 'hey kelsey'
--model 'kelsey'
--uri 'tcp://0.0.0.0:10400'
--threshold 0.7
--trigger-level 2
--debug
volumes:
- /share/docker_data/openwakeword-data:/data
- /share/docker_data/openwakeword-data:/custom # Place my custom wakewords here
environment:
- TZ=Europe/Bratislava
restart: unless-stopped
ports:
- 10400:10400
- 10400:10400/udp