This is a simple debian image with the ZoneMinder installed following the official "Debian 10 Buster with Zoneminder 1.34.x from the ZM Release-1.34 Repo" instructions.
Because of the ssmtp deprecation the mail server installed is msmtp and a default configuration file prepared for GMail will be created in /config/msmtprc.
Furthermore the image is prepared for working with SWAG(let's encrypt) image or there is an environment for the self-signed certificate option.
Image available at https://hub.docker.com/r/nardo86/docker
Feel free to consider donating if my work helped you! https://paypal.me/ErosNardi
The SELFSIGNED flag will , the FQDN will be used for configuring Apache2 and, in case of using the SWAG certificate, find the correct folder and the /config folder will contain msmtp and mysql configuration.
The shm-size will be the quantity of RAM dedicated to /dev/shm.*
**be sure to not reserve too much RAM to this machine or the docker server wil start to paging and eventually becoming unresponsible**
To access the Zoneminder gui, browse to: https://your.fqdn:443/zm
If you need to transfer your data from another instance this method worked for me https://forums.zoneminder.com/viewtopic.php?t=17071: