Add host connection to home automation docker stack

This commit is contained in:
Marko Korhonen 2022-04-10 13:15:17 +03:00
parent e87aabba1d
commit db0c4ac401

View file

@ -12,6 +12,7 @@ volumes = [
restart = "unless-stopped" restart = "unless-stopped"
networks = ["homeautomation", "postgres", "proxy"] networks = ["homeautomation", "postgres", "proxy"]
ports = ["8123:8123", "8300:8300"] ports = ["8123:8123", "8300:8300"]
extra_hosts = ["host.docker.internal:host-gateway"]
depends_on = ["mosquitto"] depends_on = ["mosquitto"]
labels = [ labels = [
"traefik.enable=true", "traefik.enable=true",