I've used your docker-compose.yaml set to use network_mode: host, which should expose https://[my host ip address] to the outside world. No dice. Inside the container, I can see the services are running and when I curl -k https://localhost/ I get a response, so everything is working inside the container.
Outside the container, the connection is refused. I do not have ufw installed.
Any help on why the container isn't exposing the host to port 443? I removed network_mode: host and replaced it with:
ports:
- 9443:443
and it started working. With how Ubiquiti designs the unifi controller, I wasn't sure if this was enough. I'm waiting for my first camera to see if can get it setup with just this.
Hi,
I've used your
docker-compose.yaml
set to usenetwork_mode: host
, which should expose https://[my host ip address] to the outside world. No dice. Inside the container, I can see the services are running and when Icurl -k https://localhost/
I get a response, so everything is working inside the container.Outside the container, the connection is refused. I do not have
ufw
installed.Any help on why the container isn't exposing the host to port 443? I removed
network_mode: host
and replaced it with:and it started working. With how Ubiquiti designs the unifi controller, I wasn't sure if this was enough. I'm waiting for my first camera to see if can get it setup with just this.