This is an automatically updating ZoneMinder container built using s6-overlay with full support for all things containers. This aims to be the container that will never die as things will automatically keep themselves up to date and allow for easy selection/testing of various ZoneMinder versions.
This container aims to follow all of the best practices of being a container meaning that the software and persistent data are separated, with the container remaining static. This means the container can easily be updated/restored provided the persistent data volumes are backed up.
Not only does this aim to follow all of the best practices, but this also aims to be the easiest container with nearly everything configurable through environment variables or automatically/preconfigured for you!
There is also full support for multi-server setups with automation to link all servers!
- Install Docker and docker-compose
- Download docker-compose.yml or docker-compose-multi.yml depending on single/multi server setups.
- Download .env
- Place all these files in the same folder and configure .env and the yml files as you please.
- Run
docker-compose up -d
to start.
NOTE: The default docker-compose.yml files use the latest
tag which runs the latest nightly builds of ZoneMinder.
This is the bleeding edge and is not recommended for production!
- Replace
latest
in thedocker-compose.yml
file with any ZoneMinder version you would like to run. You can find all available releases here. Ex.1.36.1
Note: For those new to Docker, these values are known as the container tag.
- Replace the tag with the new version to update to, or for
latest
, simply continue to the next step. docker-compose pull
docker-compose up -d
Logs are rotated according to the TAI64N standard
/data
is not included in fix-permissions because it takes a substantial amount of time to run for the events folder
when there are a large number of files
- Tell me?
- eventserver-base (Currently WIP)
- Install ZM Event Server
- Automatically enable Event Server and modify Servers table entry to enable Event Server
- eventserver-mlapi-base
- Install YOLO ML Models without opencv
- eventserver-mlapi
- Build and install standard opencv
- eventserver-mlapi-cuda
- Develop autobuilding opencv with cuda support container