1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 11:58:47 +00:00
dockerfiles/zoneminder
2016-07-18 13:11:22 +08:00
..
mysql update zoneminder 2016-07-18 13:11:22 +08:00
docker-compose.yml update zoneminder 2016-07-18 13:11:22 +08:00
Dockerfile update zoneminder 2016-07-18 13:11:22 +08:00
nginx.conf update zoneminder 2016-07-18 13:11:22 +08:00
README.md update zoneminder 2016-07-18 13:11:22 +08:00

zoneminder

ZoneMinder is a full-featured, open source, state-of-the-art video surveillance software system. Monitor your home, office, or wherever you want. Using off the shelf hardware with any camera, you can design a system as large or as small as you need.

docker-compose.yml

zoneminder:
  image: vimagick/zoneminder
  ports:
    - "8080:80"
  links:
    - mysql
  restart: always

mysql:
  image: mysql
  volumes:
    - ./mysql/my.cnf:/etc/mysql/conf.d/my.cnf
    - ./mysql:/docker-entrypoint-initdb.d
    - /usr/share/zoneinfo/Asia/Shanghai:/etc/localtime
  environment:
    - MYSQL_ROOT_PASSWORD=root
  restart: always
  • timezone = Asia/Shanghai was hard-coded in Dockerfile.
  • Make sure two containers have the same timezone.

up and running

$ docker-compose up -d

references