unifi-protect-x86
unifi-protect-x86 copied to clipboard
Run UniFi Protect in Docker on x86 hardware
UniFi Protect x86
Run UniFi Protect in Docker on x86 hardware.
Usage
Run the container as a daemon:
docker run -d --name unifi-protect-x86 \
--tmpfs /srv/unifi-protect/temp \
-p 7080:7080 \
-p 7443:7443 \
-p 7444:7444 \
-p 7447:7447 \
-p 7550:7550 \
-p 7442:7442 \
-v unifi-protect-db:/var/lib/postgresql/10/main \
-v unifi-protect:/srv/unifi-protect \
markdegroot/unifi-protect-x86:latest
Now you can access UniFi Protect at https://localhost:7443/
It's highly recommended that you set a memory limit on this container, otherwise it will use all of your RAM over time. Example below with -m 2048m
(2Gb memory limit):
docker run -d --name unifi-protect-x86 \
--tmpfs /srv/unifi-protect/temp \
-p 7080:7080 \
-p 7443:7443 \
-p 7444:7444 \
-p 7447:7447 \
-p 7550:7550 \
-p 7442:7442 \
-m 2048m \
-v unifi-protect-db:/var/lib/postgresql/10/main \
-v unifi-protect:/srv/unifi-protect \
markdegroot/unifi-protect-x86:latest
Using the latest UniFi Protect apps
In the initial setup, you have to Adopt with your UI.com Account, otherwise the latest versions of the Protect app for Android and iOS won't be able to connect to your Protect instance.
Build your own container
To build your own container put the deb file for unifi-protect 1.13.3
(4707-Debian9_5famd64-1.13.3-85b0dd59653f41cc97b3599213a483c0.deb) in the put-unifi-core-deb-here
folder and run:
docker build -t markdegroot/unifi-protect-x86 .
Important: The deb-files required to build this image are no longer hosted by UniFi. You have to find your own version of this file and alter the Dockerfile setup.
Disclaimer
This Docker image is not associated with UniFi in any way. We do not distribute any third party software and only use packages that are freely available on the internet.