Fix bind mount paths
This commit is contained in:
parent
6be7c81137
commit
d546922e1e
16 changed files with 36 additions and 45 deletions
|
@ -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"]
|
||||
|
|
Reference in a new issue