Convert compose files to yaml

toml conversion stopped working, don't want to fix it
This commit is contained in:
Marko Korhonen 2024-11-04 10:27:12 +02:00
parent 9014f87dfd
commit 037967efd7
49 changed files with 904 additions and 773 deletions

View file

@ -0,0 +1,163 @@
volumes:
hass: {}
mosquitto: {}
piper_english: {}
whisper_english: {}
openwakeword_english: {}
services:
home-assistant:
container_name: home-assistant
image: homeassistant/home-assistant
restart: unless-stopped
environment:
- TZ=Europe/Helsinki
devices:
- /dev/ttyACM0
volumes:
- hass:/config
- /etc/localtime:/etc/localtime:ro
networks:
- homeautomation
- postgres
- proxy
ports:
- 8123:8123
- 8300:8300
extra_hosts:
- host.docker.internal:host-gateway
mosquitto:
container_name: mosquitto
image: eclipse-mosquitto
restart: unless-stopped
environment:
- TZ=Europe/Helsinki
networks:
- homeautomation
ports:
- 1883:1883
- 8866:8866
volumes:
- mosquitto:/mosquitto
- /etc/localtime:/etc/localtime:ro
piper_english:
container_name: piper_english
image: rhasspy/wyoming-piper
restart: unless-stopped
environment:
- TZ=Europe/Helsinki
ports:
- 10200:10200
networks:
- homeautomation
command:
- --voice
- en_US-hfc_male-medium
volumes:
- piper_english:/data
- /etc/localtime:/etc/localtime:ro
whisper_english:
container_name: whisper_english
image: rhasspy/wyoming-whisper
restart: unless-stopped
environment:
- TZ=Europe/Helsinki
ports:
- 10300:10300
networks:
- homeautomation
depends_on:
- home-assistant
command:
- --model
- tiny-int8
- --language
- en
volumes:
- whisper_english:/data
- /etc/localtime:/etc/localtime:ro
openwakeword_english:
container_name: openwakeword_english
image: rhasspy/wyoming-openwakeword
restart: unless-stopped
environment:
- TZ=Europe/Helsinki
networks:
- homeautomation
command:
- --preload-model
- ok_nabu
depends_on:
- home-assistant
volumes:
- openwakeword_english:/data
- /etc/localtime:/etc/localtime:ro
microphone:
build: https://github.com/rhasspy/wyoming-mic-external.git
image: rhasspy/wyoming-mic-external
container_name: microphone
restart: unless-stopped
devices:
- /dev/snd:/dev/snd
ports:
- 10600:10600
group_add:
- audio
networks:
- homeautomation
command:
- --device
- plughw:CARD=USB,DEV=0
- --debug
volumes:
- /etc/localtime:/etc/localtime:ro
speaker:
build: https://github.com/rhasspy/wyoming-snd-external.git
image: rhasspy/wyoming-snd-external
container_name: speaker
restart: unless-stopped
devices:
- /dev/snd:/dev/snd
ports:
- 10601:10601
group_add:
- audio
networks:
- homeautomation
command:
- --device
- iec958:CARD=USB,DEV=0
- --debug
volumes:
- /etc/localtime:/etc/localtime:ro
satellite:
build: https://github.com/rhasspy/wyoming-satellite.git
image: rhasspy/wyoming-satellite
container_name: satellite
restart: unless-stopped
ports:
- 10700:10700
networks:
- homeautomation
depends_on:
- speaker
- microphone
- whisper_english
command:
- --name
- ha-server-satellite
- --mic-uri
- tcp://microphone:10600
- --snd-uri
- tcp://speaker:10601
- --wake-uri
- tcp://openwakeword_english:10400
- --debug
volumes:
- /etc/localtime:/etc/localtime:ro
networks:
homeautomation:
external: false
postgres:
external: true
proxy:
external: true