homeserver-ansible icon indicating copy to clipboard operation
homeserver-ansible copied to clipboard

homeassistant docker config

Open bathoorn opened this issue 1 year ago • 1 comments

In homeassistant i had to change the network settings to make it work

was: network_mode: host

changed to: networks:

  • name: homelab

Otherwise it binds to localhost and then for some reason the cloudflare redirect did not work.

It also took me a little bit to figure out how to set up the cloudflare DNS settings but now everything works fine. Thanks!

bathoorn avatar Nov 29 '23 14:11 bathoorn

Oh and i had to add the traefik ip address to homeassistant configuration.yaml

http: use_x_forwarded_for: true trusted_proxies: - XXX.XXX.XXX.XXX # Add the IP address of the proxy server

bathoorn avatar Nov 29 '23 14:11 bathoorn