Unifi Cloudkey on Synology Docker.

I recently moved to a Ubiquiti Unifi system consisting of a USG, 8 port 60w switch and AP AC Lite to replace my Synology RT1900ac (which was great) to be able to better handle my new 1Gbps internet connection i recently had installed. 

 Cloudkey

Cloudkey

Ubiquit Unifi uses software called Unifi Controller. This can be run on Mac, PC, linux either locally or in the cloud with AWS, Digital Ocean etc, or on the a Unifi Cloudkey which is a small raspberry pi sized device that is plugged directly into a POE switch to power and connect it to the network.

I went down a different route and used Docker to create my Cloudkey. If you've not used Docker yet then you're in for a treat, it makes setting up apps so easy, especially with Synology's own Docker management software.


Install Docker (if needed) and head to the registry and search for Unifi. Click on linuxserver/unifi and download the image. Once downloaded click launch and start setting up the container. Just follow the instructions below.

 Search for Unifi in the registery.

Search for Unifi in the registery.

 Launch the Image

Launch the Image

 Advanced Settings

Advanced Settings

Create a folder within the docker share called "unifi" or whatever you like and substitute for the settings below. Something like /docker/unifi and then /config as the mount path.

 Volume Settings

Volume Settings

Set the port settings to the following, you can change the local ports if needed. Just tab along and change them one by one.

 Port Settings

Port Settings

Head to Environmental variables and set the PGID and PUID to 1001 an explanation for this can be found by searching Google.

 Enviroment Settings

Enviroment Settings

Once everything is setup, press ok and the container should start up. Head to https://localip:8443/manage/wizard/ and setup the controller.

 Sucess!!!

Sucess!!!