Fix bind mount paths

This commit is contained in:
Marko Korhonen 2023-04-08 13:58:07 +03:00
parent 6be7c81137
commit d546922e1e
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890
16 changed files with 36 additions and 45 deletions

View file

@ -4,7 +4,7 @@ image = "homeassistant/home-assistant"
environment = ["TZ=Europe/Helsinki"]
devices = ["/dev/ttyACM0"]
volumes = [
"/docker/homeautomation/home-assistant:/config",
"~/data/homeautomation/home-assistant:/config",
"/etc/localtime:/etc/localtime:ro",
]
restart = "unless-stopped"
@ -16,7 +16,7 @@ depends_on = ["mosquitto"]
[services.esphome]
container_name = "esphome"
image = "esphome/esphome"
volumes = ["/docker/homeautomation/esphome:/config"]
volumes = ["~/data/homeautomation/esphome:/config"]
restart = "unless-stopped"
network_mode = "host"
@ -27,7 +27,7 @@ environment = ["TZ=Europe/Helsinki"]
ports = ["1883:1883"]
networks = ["homeautomation"]
volumes = [
"/docker/homeautomation/mosquitto:/mosquitto",
"~/data/homeautomation/mosquitto:/mosquitto",
"/etc/localtime:/etc/localtime:ro",
]
restart = "unless-stopped"
@ -36,7 +36,7 @@ restart = "unless-stopped"
container_name = "rhasspy"
image = "rhasspy/rhasspy"
command = "--profile en --user-profiles /profiles"
volumes = ["/docker/homeautomation/rhasspy:/profiles"]
volumes = ["~/data/homeautomation/rhasspy:/profiles"]
environment = ["TZ=Europe/Helsinki"]
ports = ["12101:12101"]
networks = ["homeautomation"]