rundqvist/zoneminder

By rundqvist

Updated almost 8 years ago

Zoneminder. Built on Alpine Linux and Php7 aiming for a compact container with low resource usage.

Image
0

862

rundqvist/zoneminder repository overview

Docker Zoneminder

Zoneminder image built on Alpine Linux and Php7 aiming for a compact container with low resource usage.
https://hub.docker.com/r/rundqvist/zoneminder/

Features

  • All-in-one. No dependencies on external containers.
  • Optimized for performance
  • Working API
  • Compact (compressed size on dockerhub only 120MB, running size less than 400MB)
  • Docker health check

Components

  • Alpine Linux
  • Zoneminder
  • MariaDB
  • Lighttpd
  • Php7

Configuration

VariableValueDescription
UIDUID of user with access to /events and /images folder.Optional, but can cause permission issues if omitted.
GIDGID of user with access to /events and /images folder.Optional, but can cause permission issues if omitted.
TZYour time zone (in format: 'Europe/Stockholm').Use this if mounting /etc/localtime don't work.
OPTIMIZEtrue/false/onceOptimizes Zoneminder for best performance. 'true' resets to optimized settings on every start. 'once' applies settings once. 'false' do not optimize settings.

Not mandatory to run in privileged mode, but it seems to make Zoneminder more stable aswell as giving a performance boost.

Run

$ docker run \
    -d \
    -p 8080:80 \
    -v /path/to/data:/data \
    -v /path/to/images:/images \
    -v /path/to/events:/events \
    -e 'UID=[your uid]' \
    -e 'GID=[your gid]' \
    -e "OPTIMIZE=true" \
    -v /etc/localtime:/etc/localtime:ro \
    --privileged \
    --shm-size=4096m \
    --restart unless-stopped \
    --name zoneminder \
    rundqvist/zoneminder

Use

WebUI located at http://your-ip:8080/zm
Api located at http://your-ip:8080/zm/api

Issues

Please report issues at https://github.com/rundqvist/docker-zoneminder/issues

Tag summary

Content type

Image

Digest

Size

114.6 MB

Last updated

almost 8 years ago

docker pull rundqvist/zoneminder:stability