Modern, best-practices Debian-based Zoneminder container
IMPORTANT: This is a personal project only. PRs are accepted, but this is not supported and "issues" will likely not be fixed or responded to. This is only for people who understand the details of everything invovled, sorry.
This repo attempts to provide a modern, best-practices Docker image for current ZoneMinder versions, using a current Debian version base. The image provides ZoneMinder and Apache but (like a proper Docker image) requires an external MySQL server. The image is vehemently NOT auto-updating, as doing so in a Docker image is a mortal sin. If you want to update, then pull a newer tag.
NOTE: If you want to use the event server, then you'll need to mount the appropriate configuration files in to the image at /etc/zm/es_rules.json
, /etc/zm/zmeventnotification.ini
, and /etc/zm/secrets.ini
; examples are included in this repo.
In addition, the output of mod_status
is exposed at /server-status
.
docker-compose
files and all of the EXAMPLE
files to that machine.EXAMPLE.
from the example file names, and edit the content of the files as needed. These are all documented elsewhere, and are all related to the ZM Event Notification server (ZMES) and object detection. If you don't care about ZMES and object detection, then these files can just be left as-is.docker-compose
command isn't already available on your system, install docker-compose.ghcr.io/jantman/docker-zoneminder:latest
to the newest versioned tag of the image.docker-compose up
should start the database and then zoneminder. If you also want the MLAPI object detection, you can use docker-compose -f docker-compose-mlapi.yml up
main
.