You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
More like a question than an issue.
I just deployed these awesome containers and everything works fine.
I have a question about networking configuration of containers.
Everything works fine for a "bridged" container when exposing his port as specified in the documentation.
My problem is that I have a container (Home Assistant), that needs to be running in "host" network mode to discover devices on the network.
I tried do deploy the container like this :
As far as I can tell, certificate is okay. I can access the url and the Let's Encrypt Certificate is presented.
The issue is that nginx brings me a 502 bad gateway so I guess something is wrong with my ports or bindings...
Just to let you know, without the "--net=host", everything works fine (but HA can't discover devices).
I know it's more a Docker "question" and I'm sorry about that.
Thanks :)
The text was updated successfully, but these errors were encountered:
Thanks for your reply.
Not the same issue, everything works fine but I want to issue a cert for a container which I'm forced to use in host network mode.
Anyway, I closed the issue because I decided to go for a direct nginx installation with acme on the host.
Hello there !
More like a question than an issue.
I just deployed these awesome containers and everything works fine.
I have a question about networking configuration of containers.
Everything works fine for a "bridged" container when exposing his port as specified in the documentation.
My problem is that I have a container (Home Assistant), that needs to be running in "host" network mode to discover devices on the network.
I tried do deploy the container like this :
docker run --detach \ --name home-assistant \ --restart=always \ --expose=8123 \ --volume /var/run/docker.sock:/var/run/docker.sock:ro \ --volume /srv/dev-disk-by-label-data/docker/homeassistant:/config \ --volume /etc/localtime:/etc/localtime:ro \ --env "VIRTUAL_HOST=xxx.mydomain.com" \ --env "VIRTUAL_PORT=8123" \ --env "LETSENCRYPT_HOST=xxx.mydomain.com" \ --env "LETSENCRYPT_EMAIL=noc@mydomain.com" \ --net=host \ homeassistant/home-assistant:stable
As far as I can tell, certificate is okay. I can access the url and the Let's Encrypt Certificate is presented.
The issue is that nginx brings me a 502 bad gateway so I guess something is wrong with my ports or bindings...
Just to let you know, without the "--net=host", everything works fine (but HA can't discover devices).
I know it's more a Docker "question" and I'm sorry about that.
Thanks :)
The text was updated successfully, but these errors were encountered: