kiwimato / unifi-protect-arm64

Run UniFi Protect in Docker on ARM64 hardware
6 stars 0 forks source link

Unable to access web interface outside container #4

Open kylerove opened 1 year ago

kylerove commented 1 year ago

Hi,

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.