openWakeWord Docker

Try this, no config file needed…

##
  openwakeword:
    container_name: openwakeword
    image: rhasspy/wyoming-openwakeword
    user: 1001:1001
    networks:
      - hass
    volumes:
      - ./wakeword:/data
      - ./wakeword:/custom
      - /etc/timezone:/etc/timezone:ro
      - /etc/localtime:/etc/localtime:ro
    environment:
      - TZ=Australia/Melbourne
    command: --preload-model 'ok_nabu' --custom-model-dir /custom
    restart: unless-stopped

Skip the user and network parts if they don’t suit you… for me HA, Whisper, Piper and OWW all run in the same stack…

EDIT: By default OWW uses port 10400. You will need to manually add it as per Tarlak’s comment above.
Cheers.

2 Likes