=====Unifi Controller===== Note: The default site cannot be deleted. ====Setup==== * Set up a [[esxi:Docker Host]] first * Navigate to Portainer * Click on the ''local'' endpoint * Click on containers * Add new container * Name > ''Unifi Controller'' * Image > ''jacobalberty/unifi:latest'' * Add network ports: * 8080/tcp - Device command/control * 8443/tcp - Web interface + API * 8843/tcp - HTTPS portal * 8880/tcp - HTTP portal * 8883/tcp - Remote Access service * 3478/udp - STUN service * 6789/tcp - Speed Test (unifi5 only) * 10001/udp - UBNT Discovery * Add Volume mapping: * ''container'' > ''/unifi'' * ''bind'' * ''host'' > ''/root/unifi'' * Add Environment variables: * ''JVM_MAX_THREAD_STACK_SIZE'' > ''1280k'' * ''TZ'' > '''' * Restart policy > ''Unless stopped'' * Deploy the container * Set the ''Unifi Controller'' entry to the IP address of the Unifi controller under the ''Services'' > ''DHCP Server'' > ''Details'' screen for any EdgeRouters that host Unifi devices that wish to be connected to the controller. * Access the controller at https://docker.example.com:8443 * Login/Create a Unifi Account * Setup Site settings * Reset (if needed) and adopt the Unifi devices * FIXME: Add more controller setup ====Update==== * Navigate to Portainer and to the ''Unifi Controller'' container * Click on ''Recreate'' * Select ''Pull latest image'' * Click ''Recreate'' ====Ports==== 10001/udp, 3478/udp 6789/tcp, 8080/tcp 8443/tcp https Web Portal 8843/tcp, 8880/tcp, 8883/tcp