dotfiles/docker/homeautomation/docker-compose.yaml

82 lines
1.7 KiB
YAML

volumes:
hass: {}
mosquitto: {}
piper_english: {}
whisper_english: {}
openwakeword_english: {}
services:
home-assistant:
container_name: home-assistant
image: homeassistant/home-assistant
restart: unless-stopped
environment:
- TZ=Europe/Helsinki
volumes:
- hass:/config
- /etc/localtime:/etc/localtime:ro
networks:
- homeautomation
- postgres
- proxy
ports:
- 8123:8123
- 8300:8300
extra_hosts:
- host.docker.internal:host-gateway
# mosquitto:
# container_name: mosquitto
# image: eclipse-mosquitto
# restart: unless-stopped
# environment:
# - TZ=Europe/Helsinki
# networks:
# - homeautomation
# ports:
# - 1883:1883
# - 8866:8866
# volumes:
# - mosquitto:/mosquitto
# - /etc/localtime:/etc/localtime:ro
piper_english:
container_name: piper_english
image: rhasspy/wyoming-piper
restart: unless-stopped
environment:
- TZ=Europe/Helsinki
ports:
- 10200:10200
networks:
- homeautomation
command:
- --voice
- en_US-hfc_male-medium
volumes:
- piper_english:/data
- /etc/localtime:/etc/localtime:ro
whisper_english:
container_name: whisper_english
image: rhasspy/wyoming-whisper
restart: unless-stopped
environment:
- TZ=Europe/Helsinki
ports:
- 10300:10300
networks:
- homeautomation
depends_on:
- home-assistant
command:
- --model
- tiny-int8
- --language
- en
volumes:
- whisper_english:/data
- /etc/localtime:/etc/localtime:ro
networks:
homeautomation:
external: false
postgres:
external: true
proxy:
external: true