This is how I have mine set up:
homeassistant:
image: ghcr.io/home-assistant/home-assistant:stable
container_name: homeassistant
volumes:
- /data/homeassistant:/config
- /etc/localtime:/etc/localtime:ro
- /run/dbus:/run/dbus:ro
ports:
- "127.0.0.1:8123:8123/tcp"
- "127.0.0.1:1400:1400/tcp"
restart: "unless-stopped"
privileged: true
network_mode: host
ha-whisper:
image: docker.io/rhasspy/wyoming-whisper:latest
container_name: "ha-whisper"
volumes:
- /data/homeassistant/addons/whisper:/data
command: --model base --language en --beam-size 2
restart: "unless-stopped"
networks:
default:
ipv4_address: 172.18.0.101
ha-piper:
image: docker.io/rhasspy/wyoming-piper:latest
container_name: "ha-piper"
volumes:
- /data/homeassistant/addons/piper:/data
command: --voice en_US-lessac-medium
restart: "unless-stopped"
networks:
default:
ipv4_address: 172.18.0.102