Ubiquiti Unifi Controller - martikainen87/Home-Automation GitHub Wiki
Unifi controller @ linuxserver Unifi Controller Software
If you have a ubiquiti Unifi acces point you can use this docker container to manage the accesspoint.
Create a data folder for your container
sudo mkdir /Docker/Unifi
Create the container
docker run -d --name=unifi --restart=always -v /Docker/Unifi:/config -e PGID=1000 -e PUID=1000 -p 3478:3478/udp -p 10001:10001/udp -p 8080:8080 -p 8085:8081 -p 8443:8443 -p 8843:8843 -p 8880:8880 linuxserver/unifi
Follow the setup guide if it's the first time you're installing it. If you're reinstalling the container and already have the data placed in /Docker/Unifi you wont need to do anything, but the adoption of the unifi AP could take a couple of minutes.
Adopting the AP to the new controller
You might need to adopt your AP to the unifi controller again, easiest way was through SSH on my part
- SSH to your accesspoint on port 22.
- Default username and password can be ubnt/ubnt or root/ubnt
- Username and password can be found through the unifi controller under "settings -> Site" and located at the bottom
Issue the command
set-inform http://192.168.1.2:8080/inform
Go to the controller on the page "devices" and you will find your AP, click Adopt If it doesn't work or you can't login through SSH you could try resetting the AP, there is a reset hole next to the network cable, push it for 10 seconds and it will be reset to factory settings. Your wifi configuration etc is stored in the controller so you wont need to reconfigure it.
Then repeat the steps above.