mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
18 lines
356 B
YAML
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
|