docker-unifi-rpi
docker-unifi-rpi copied to clipboard
Unable to setup new network controller
Trying to set up 7.2.92 from scratch, following your directions from the wiki to the word. At the end of the setup process after finishing entering the user and password for the local account, timezone etc. , the web interface of the unifi controller switches to https, after that i cannot make any connection to the unifi controller any more.
Commenting out all the port forwarding in the compose file and defining network-mode = "host" solves it, but there seems to be an issue.
PS: i am running Ubuntu Server 22.04 LTS on Pi4 4GB
That's a good catch. I'll have to improve the documentation!
Host networking is a valid solution if you're running the controller on the same local network as your devices.
The fix for container networking is to change - "8443"
to - "8443:8443"
.
@mmaxbar I've updated the wiki. Can you let me know if it makes sense to you?
I understand that change, the updated wiki still has one port configured for container networking:
ports: - "3478:3478/udp" - "8080:8080" - "8443:8443" # Replace the above line with the one below if you're using the caddy container. # - "8443" - "8880:8880" - "8843" - "6789:6789"
Whats 8843 for? Should it also be mapped to a port on the network interface?
@mmaxbar Do you still need help?
Thanks, everything works fine with network-mode=host, Have not tried container networking because I have no use for it...