# Home Assistant - Smart home automation
# Port: 8123
# Open source home automation platform
version: '3'
services:
  homeassistant:
    container_name: homeassistant
    image: ghcr.io/home-assistant/home-assistant:stable
    network_mode: host
    restart: unless-stopped
    environment:
      - TZ=America/Los_Angeles
    volumes:
      - /home/vish/docker/homeassistant:/config
      - /etc/localtime:/etc/localtime:ro

  matter-server:
    container_name: matter-server
    image: ghcr.io/home-assistant-libs/python-matter-server:stable
    network_mode: host
    restart: unless-stopped
    volumes:
      - /home/vish/docker/matter:/data

  piper:
    container_name: piper
    image: rhasspy/wyoming-piper:latest
    restart: unless-stopped
    ports:
      - "10200:10200"
    volumes:
      - /home/vish/docker/piper:/data
    command: --voice en_US-lessac-medium

  whisper:
    container_name: whisper
    image: rhasspy/wyoming-whisper:latest
    restart: unless-stopped
    ports:
      - "10300:10300"
    volumes:
      - /home/vish/docker/whisper:/data
    command: --model tiny-int8 --language en

  openwakeword:
    container_name: openwakeword
    image: rhasspy/wyoming-openwakeword:latest
    restart: unless-stopped
    ports:
      - "10400:10400"
    command: --preload-model ok_nabu

networks:
  default:
    name: homeassistant-stack
