UniFiProtect

UniFiProtect

Docker app from CorneliousJD's Repository

Overview

Run UniFi Protect in Docker on x86 hardware. UniFi stopped supporting x86 at 1.13.3, so there will be no more updates. Must use Protect mobile app 1.3.8 to connect to this via UniFi Cloud on your phone. Run either as host networking mode, or custom br0 if you have other conflicting ports in use already via host mode - bridge mode does not work.

UniFi Protect x86

Run UniFi Protect in Docker on x86 hardware.

Important: This is version 1.13.3 of UniFi Protect which was released in 2020. UniFi stopped publishing the AMD64 binaries for UniFi Protect. We won't be supplying any more updates on the x86 version. Please take a look at unifi-protect-arm64 for a more recent ARM based version of this project.

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.

Install UniFiProtect on Unraid in a few clicks.

Find UniFiProtect in Community Apps on your Unraid server, review the template, and click Install. Unraid handles the Docker app or plugin setup from the published template.

Open the Apps tab on your Unraid server Search Community Apps for UniFiProtect Review the template variables and paths Click Install

Categories

Download Statistics

107,372
Total Downloads
471
This Month
470
Avg / Month

Total Downloads Over Time

Loading chart...

Related apps

Explore more like this

Explore all

Details

Repository
markdegroot/unifi-protect-x86
Last Updated2021-08-04
First Seen2022-01-08

Runtime arguments

Web UI
http://[IP]:[PORT:7080]
Network
host
Shell
sh
Privileged
false
Extra Params
--tmpfs /srv/unifi-protect/temp -m 2048m

Template configuration

AppDataPathrw

Container Path: /srv/unifi-protect

Target
/srv/unifi-protect
Default
/mnt/user/appdata/unifiprotect/data
Value
/mnt/user/appdata/unifiprotect/data
DatabasePathrw

Container Path: /var/lib/postgresql/10/main

Target
/var/lib/postgresql/10/main
Default
/mnt/user/appdata/unifiprotect/database
Value
/mnt/user/appdata/unifiprotect/database