docker-unifi-video
-
Unifi-Video
Instructions for use
Getting docker
- Download Docker from here; Install by dragging app to /Applications
- (Optional) Right click on the whale in the top menu bar and select “Open Kitematic”, follow the download link and install the app to /Applications
Unifi-Video installation
Because /usr/local is reserved for Docker, the example demonstrates installation of Unifi Video in a manner where the Host Data Volume directories are located in
~/Applications/unifi-video
. You can change this to your liking.NB! If you receive permission errors when executing commands, precede them with
sudo
- Create the
~/Applications/unifi-video
directory - Run in Terminal:
docker pull exsilium/unifi-video:v3.7.0
`$ docker images REPOSITORY TAG IMAGE ID CREATED SIZE exsilium/unifi-video v3.7.0 1cbeb1e369da 44 minutes ago 869.9 MB
- (Optional) Download\Save
run.sh
from here - Create the following host data directories under
~/Applications/unifi-video
mkdir mongodb
mkdir unifi-video
mkdir log
- Review and edit
run.sh
to make sure the BASEDIR and IP are reflecting your setup. The default 0.0.0.0 binds the ports to all interfaces. - Execute
./run.sh
to run the container or executedocker run
with the appropriate parameters.
`Checking for Host data volumes: MongoDB-OK | Unifi-Video-OK | Log-OK 16eeb080627ac648804fd0f9e64dd4569680137989d46c388ea74afb59480440
- You should be able to open the Unifi Video setup wizard using Chrome on https://<yourIP>:7443
Camera provisioning
By default, Docker provides network isolation and due to that the automatic discovery will not work. Directly access your camera IP and enter the host IP of your server where the unifi-video docker image is running.
Upgrade from 3.x.x to 3.7.0
NB! Always create a backup before trying to upgrade!
NB! Upgrade scenarios over multiple versions have not been tested!- Stop the running container
- Backup your Host Data Volumes (
~/Applications/unifi-video
) - Pull the latest image
docker pull exsilium/unifi-video:v3.7.0
- Rename the old container to something else than
unifi-video
. Refer to docker rename command - Update the
run.sh
to reflect the new version (v3.7.0) - Start the new image against the same Host Data Volumes by using
run.sh
or manually callingdocker run
with appropriate arguments.
Need help?
If you have questions, comments, concerns. Did you find something not working or if you just need help, please file a Github Issue and I'll do my best to help you.
Please don't use Docker Hub comments section for reaching out!