Giter VIP home page Giter VIP logo

zmdockerfiles's Introduction

zmdockerfiles

This repository contains Docker files used in various ways for the ZoneMinder project.

Usage

Note: Detailled usage instructions for the development and release Dockerfiles are contained within each Dockerfile.

Docker images are published to Docker Hub and can be pulled directly from there e.g.

CentOS and Rocky

Using external folders:

docker run -d -t -p 1080:443 \
    -v /disk/zoneminder/events:/var/lib/zoneminder/events \
    -v /disk/zoneminder/mysql:/var/lib/mysql \
    -v /disk/zoneminder/logs:/var/log/zm \
    --name zoneminder \
    zoneminderhq/zoneminder:latest-el7

Using external folders and external MySQL database:

docker run -d -t -p 1080:443 \
    -e TZ='America/Los_Angeles' \
    -e ZM_DB_USER='zmuser' \
    -e ZM_DB_PASS='zmpassword' \
    -e ZM_DB_NAME='zoneminder_database' \
    -e ZM_DB_HOST='my_central_db_server' \
    -v /disk/zoneminder/events:/var/lib/zoneminder/events \
    -v /disk/zoneminder/logs:/var/log/zm \
    --shm-size="512m" \
    --name zoneminder \
    zoneminderhq/zoneminder:latest-el7

Ubuntu

docker run -d -t -p 1080:80 \
    -e TZ='Europe/London' \
    -v ~/zoneminder/events:/var/cache/zoneminder/events \
    -v ~/zoneminder/images:/var/cache/zoneminder/images \
    -v ~/zoneminder/mysql:/var/lib/mysql \
    -v ~/zoneminder/logs:/var/log/zm \
    --shm-size="512m" \
    --name zoneminder \
    zoneminderhq/zoneminder:latest-ubuntu18.04

Example for passing a host device to the container (for hardware acceleration via DecoderHWAccelName/DecoderHWAccelDevice):

docker run [...] \
    [...]
    --device /dev/dri \
    [...]

Contributions

Contributions are welcome, but please follow instructions under each subfolder:

  • buildsystem - These build zoneminder into packages
  • development - These run the latest ZoneMinder code.
  • release - These run the latest ZoneMinder release.

zmdockerfiles's People

Contributors

knight-of-ni avatar ancker010 avatar fawick avatar connortechnology avatar 55octet avatar humorbaby avatar robert-scheck avatar petegallagher avatar andornaut avatar gergnz avatar thoraxe avatar adenner avatar dkopecek avatar danobot avatar zhuykovkb avatar basm avatar si458 avatar tylerszabo avatar neogta 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.