version: "2.1"
services:
piper:
image: lscr.io/linuxserver/piper:latest # https://hub.docker.com/r/linuxserver/piper
container_name: piper
environment:
- PUID=${apps_puid}
- PGID=${apps_guid}
- TZ=${apps_timezone}
- PIPER_VOICE=en_US-lessac-medium
- PIPER_LENGTH=1.0 #optional
- PIPER_NOISE=0.667 #optional
- PIPER_NOISEW=0.333 #optional
- PIPER_SPEAKER=0 #optional
- PIPER_PROCS=1 #optional
volumes:
- ./config/piper:/config
ports:
- 10200:10200
restart: ${apps_restartpolicy}
faster-whisper:
image: lscr.io/linuxserver/faster-whisper:latest # https://github.com/linuxserver/docker-faster-whisper
container_name: faster-whisper
environment:
- PUID=${apps_puid}
- PGID=${apps_guid}
- TZ=${apps_timezone}
- WHISPER_MODEL=tiny-int8
- WHISPER_BEAM=1 #optional
- WHISPER_LANG=en #optional
volumes:
- ./config/whisper:/config
ports:
- 10300:10300
restart: ${apps_restartpolicy}
openwakeword:
container_name: openwakeword
image: rhasspy/wyoming-openwakeword # https://github.com/rhasspy/wyoming-openwakeword
user: ${apps_puid}:${apps_guid}
volumes:
- ./config/wakeword:/data
- ./config/wakeword:/custom
environment:
- TZ=${apps_timezone}
ports:
- 10400:10400
command: --preload-model 'ok_nabu' --custom-model-dir /custom
restart: ${apps_restartpolicy}
home-assistant:
container_name: homeassistant2
cpus: 2
mem_limit: 2048m
privileged: true
restart: unless-stopped
environment:
- TZ=Europe/Warsaw
volumes:
- 'home_assistant_config:/config'
network_mode: host
image: homeassistant/home-assistant
mqtt:
image: eclipse-mosquitto:2.0
container_name: mqtt
cpus: 1
mem_limit: 1024m
restart: unless-stopped
volumes:
- mosquitto_data:/mosquitto
ports:
- "1883:1883"
- "9001:9001"
command: "mosquitto -c /mosquitto-no-auth.conf"
zigbee2mqtt:
image: koenkk/zigbee2mqtt
container_name: zigbee2mqtt
mem_limit: 1024m
cpus: 1
restart: unless-stopped
volumes:
- zigbee2mqtt_data:/app/data
- /run/udev:/run/udev:ro
ports:
- 8081:8080
environment:
- TZ=${apps_timezone}
devices:
- /dev/ttyACM0:/dev/ttyACM0
esphome:
container_name: esphome
image: esphome/esphome
ports:
- '6052:6052'
environment:
- ESPHOME_DASHBOARD_USE_PING=true
volumes:
- ./config/esphome/config:/config
- ./config/esphome/cache:/cache
- /etc/localtime:/etc/localtime:ro
volumes:
zigbee2mqtt_data:
external: false
mosquitto_data:
external: false
home_assistant_config:
driver: local