I am running home assistant in a container behind an NGINX reverse proxy with a subdomain. When I open the app it advertises the ipaddress of the raspi I am running the container on. I would like it to advertise the subdomain it is hosted on, not the IP.
Is it possible to change the advertisement so it offers the domain name? Or is this just something I am going to have to do manually every time I setup a new app instance?
not sure what “it” is but HA>>settings>>system>>network>>local network is what is generally used for weblinks sent from HA to devices such as Assist reply media to voice devices.
if you need to redo anything after update in a docker container you probably did not properly mount folders.
separately as a hint.
I have defined a few docker network that I use for connecting containers.
I generally assign a static IP for containers on the network in the compose file. This is not needed, just became a habit. This is definetly required for nginx as you must set it as trusted_proxy and x_forwarded_for or youll get locked out of HA because it sees all traffic as coming from the nginx docker IP.
I do not use IPs to connect containers however. I always use container hostnames defined by me in the compose file. There are some services that cannot use hostname and i must use IP but this is rare.