1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-16 11:37:32 +02:00
dockerfiles/zoneminder/docker-compose.yml
2016-07-18 13:39:20 +08:00

18 lines
356 B
YAML

zoneminder:
image: vimagick/zoneminder
ports:
- "127.0.0.1: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