User Tools

Site Tools


ubnt:unifi_controller

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ubnt:unifi_controller [2019/09/18 06:21]
derek created
ubnt:unifi_controller [2020/05/18 18:33] (current)
derek
Line 1: Line 1:
-=====UniFi Controller=====+=====Unifi Controller=====
  
-  ​Follow ​[[esxi:​Docker Host]] to install ​the Unifi controller in docker.+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:​stable''​ 
 +  * Add network ports: 
 +    * 8080/tcp - Device command/​control 
 +    * 8443/tcp - Web interface + API 
 +    * 8843/tcp - HTTPS portal 
 +    * 8880/tcp - HTTP portal 
 +    * 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''​ > ''<​Timezone of server>''​ 
 +  * 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.   * 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   * Login/​Create a Unifi Account
   * Setup Site settings   * Setup Site settings
   * Reset (if needed) and adopt the Unifi devices   * 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====
 +<​code>​
 +10001/udp, 3478/udp
 +6789/tcp, 8080/tcp
 +8443/tcp https Web Portal
 +8843/tcp, 8880/tcp
 +</​code>​
ubnt/unifi_controller.txt · Last modified: 2020/05/18 18:33 by derek