version: '3.8' services: homeassistant: container_name: homeassistant image: homeassistant/home-assistant:stable volumes: - /mnt/apps/docker_volumes/homeassistant/config:/config - /etc/localtime:/etc/localtime:ro - /run/dbus:/run/dbus - /dev/bus/usb:/dev/bus/usb - /dev/hci0:/dev/hci0 privileged: true # Required for full access to host devices # cap_add: # - NET_ADMIN # - SYS_ADMIN # - SYS_RAWIO # restart: unless-stopped network_mode: host #devices: # - /dev/ttyACM0:/dev/ttyACM0 # - /dev/hci0:/dev/hci0 dind: deploy: replicas: 0 image: docker:dind container_name: docker_in_docker privileged: true environment: - DOCKER_TLS_CERTDIR=/certs volumes: - docker_in_docker_vol:/var/lib/docker #- /mnt/apps/docker_volumes/dind:/var/lib/docker - /mnt/apps/docker_volumes/haos:/mnt/haos - /mnt/apps/DEV/docker-compose/home-infrastructure:/mnt/setup - /mnt/apps/docker_volumes/dind/certs:/certs - /mnt/apps/docker_volumes/dind/etc-docker:/etc/docker #- /sys/fs/cgroup:/sys/fs/cgroup:ro ports: - "2376:2376" - "8122:8123" # hassio HTTP restart: unless-stopped tty: true stdin_open: true homeassistant_old: deploy: replicas: 0 container_name: homeassistant image: homeassistant/home-assistant:latest volumes: - /mnt/apps/docker_volumes/homeassistant/:/config environment: - TZ=YOUR_TIMEZONE restart: unless-stopped #network_mode: host ports: - "8123:8123" esphome: container_name: esphome image: esphome/esphome:latest volumes: - /mnt/apps/docker_volumes/esphome/config:/config # Maps the configuration directory to a local folder ports: - "6052:6052" # Optional: for API communication - "6123:6123" # Optional: for OTA updates restart: unless-stopped network_mode: host # Recommended for discovery to work properly wyoming-piper: image: rhasspy/wyoming-piper command: --voice en_US-lessac-medium volumes: - /mnt/apps/docker_volumes/ha/piper:/data ports: - "10200:10200" stdin_open: true tty: true wyoming-whisper: image: rhasspy/wyoming-whisper # tiny-int8 base 1GB, small 2GB RAM {tiny,tiny-int8,base,base-int8,small,small-int8,medium,medium-int8} command: --model small --language en volumes: - /path/to/local/data:/data ports: - "10300:10300" stdin_open: true tty: true wyoming-whisper-bg: image: rhasspy/wyoming-whisper # tiny-int8 command: --model small --language bg volumes: - /path/to/local/data:/data ports: - "10301:10300" stdin_open: true tty: true openwakeword: image: dalehumby/openwakeword-rhasspy restart: always ports: - "12202:12202/udp" volumes: - /mnt/apps/docker_volumes/ha/openwakeword-rhasspy/config:/config # openwakeword: # container_name: openwakeword # image: homeassistant/amd64-addon-openwakeword # restart: unless-stopped # volumes: # - /mnt/apps/docker_volumes/ha/openwakeword/models:/data/models # network_mode: host # environment: # - TZ=Your/Timezone # - MODELS_DIR=/data/models # - CUSTOM_MODEL_DIR=/data/models # - THRESHOLD=0.5 # Example threshold value # - TRIGGER_LEVEL=3 # Example trigger level volumes: docker_in_docker_vol: