Code Monkey home page Code Monkey logo

zoneminder-base's Introduction

Zoneminder Container

Docker Build DockerHub Pulls Status

Personal Fork

This is my own personal fork of zoneminder-containers/zoneminder-base that I am using to create my k8s images. I will be adding configs/etc that all are welcome to borrow from. However, this is not intended to be 100% generic.

Why

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!

How

  1. Install Docker and docker-compose
  2. Download docker-compose.yml or docker-compose-multi.yml depending on single/multi server setups.
  3. Download .env
  4. Place all these files in the same folder and configure .env and the yml files as you please.
  5. Run docker-compose up -d to start.

NOTE: The default docker-compose.yml files use the latest tag which runs the latest release build of ZoneMinder.

Defining a Version

  1. Replace latest in the docker-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.

Available Tags

  • branch_name: This is the branch name of this repository, not Zoneminder.
  • release: References the latest release
  • latest: Same as release
  • nightly: Nightly builds from master on Zoneminder

Updates

  1. Replace the tag with the new version to update to, or for latest, simply continue to the next step.
  2. docker-compose pull
  3. docker-compose up -d

Helpful Info

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

The web interface is accessible at the root directory. Do not use the /zm subdirectory to access the interface.

Issues:

  • Tell me?

Future Containers:

  1. eventserver-base (Currently WIP)
  • Install ZM Event Server
  • Automatically enable Event Server and modify Servers table entry to enable Event Server
  1. eventserver-mlapi-base
  • Install YOLO ML Models without opencv
  1. eventserver-mlapi
  • Build and install standard opencv
  1. eventserver-mlapi-cuda
  • Develop autobuilding opencv with cuda support container

zoneminder-base's People

Contributors

alexyao2015 avatar dependabot[bot] avatar khimaros avatar rich0 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.