[services.home-assistant] container_name = "home-assistant" image = "homeassistant/home-assistant" environment = ["TZ=Europe/Helsinki"] devices = ["/dev/ttyACM0"] volumes = [ "/docker/homeautomation/home-assistant:/config", "/etc/localtime:/etc/localtime:ro", ] restart = "unless-stopped" networks = ["homeautomation", "postgres", "proxy"] ports = ["8123:8123", "8300:8300"] extra_hosts = ["host.docker.internal:host-gateway"] depends_on = ["mosquitto"] [services.mosquitto] container_name = "mosquitto" image = "eclipse-mosquitto" environment = ["TZ=Europe/Helsinki"] ports = ["1883:1883", "8866:8866"] networks = ["homeautomation"] volumes = [ "/docker/homeautomation/mosquitto:/mosquitto", "/etc/localtime:/etc/localtime:ro", ] restart = "unless-stopped" [services.rhasspy] container_name = "rhasspy" image = "rhasspy/rhasspy" command = "--profile en --user-profiles /profiles" volumes = ["/docker/homeautomation/rhasspy:/profiles"] environment = ["TZ=Europe/Helsinki"] ports = ["12101:12101"] networks = ["homeautomation"] restart = "unless-stopped" depends_on = ["home-assistant"] devices = ["/dev/snd:/dev/snd"] [networks] [networks.homeautomation] external = false [networks.postgres] external = true [networks.proxy] external = true