Sign inSign up

magicalyak/docker-zoneminder

By magicalyak

Updated over 7 years ago

Zoneminder Docker image for 1.30

Image
0

4.3K

magicalyak/docker-zoneminder repository overview

Zoneminder 1.30
Install on most platforms

On other platforms, you can run this docker container with the following command:

docker run -d --name="Zoneminder-1.30" --privileged=true -v /path/to/config:/config:rw -v /etc/localtime:/etc/localtime:ro -p 80:80 magicalyak/docker-zoneminder

Tips and Setup Instructions:
  • NOTE: These are from the 1.29 version, I haven't updated them yet
  • This container includes mysql, no need for a separate mysql/mariadb container
  • All settings and library files are stored outside of the container and they are preserved when this docker is updated or re-installed (change the variable "/path/to/config" in the run command to a location of your choice)
  • This container includes avconv (ffmpeg variant) and cambozola but they need to be enabled in the settings. In the WebUI, click on Options in the top right corner and go to the Images tab
  • Click on the box next to OPT_Cambozola to enable
  • Click on the box next OPT_FFMPEG to enable ffmpeg
  • Enter the following for ffmpeg path: /usr/bin/avconv
  • Enter the following for ffmpeg "output" options: -r 30 -vcodec libx264 -threads 2 -b 2000k -minrate 800k -maxrate 5000k (you can change these options to your liking)
  • Next to ffmpeg_formats, add mp4 (you can also add a star after mp4 and remove the star after avi to make mp4 the default format)
  • Hit save
  • Now you should be able to add your cams and record in mp4 x264 format
Important:
  • The web gui will be available at http://serverip:port/zm
  • On first start, open zoneminder settings, go to the paths tab and enter the following for PATH_ZMS: /zm/cgi-bin/nph-zms
  • The default timezone for php is set as America/New_York if you would like to change it, edit the php.ini in the config folder. Here's a list of available timezone options: http://php.net/manual/en/timezones.php
Changelog:
  • 2016-03-26 - Fixed the images, events and temp folder paths
  • 2016-03-14 - Fixed the Cambozola location
  • 2016-03-10 - Release
  • 2017-02-02 - forked from tokyis and aptalca to magicalyak for 1.30

Tag summary

Content type

Image

Digest

Size

487.7 MB

Last updated

over 7 years ago

docker pull magicalyak/docker-zoneminder