-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
91 lines (86 loc) · 1.74 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
version: '3'
services:
zm-db:
container_name: zm-db
hostname: zm-db
image: mariadb
restart: always
networks:
- zoneminder
volumes:
- zm_db:/var/lib/mysql
environment:
- MYSQL_DATABASE=zm
env_file:
- ./.env
# zoneminder:
# container_name: zoneminder
# hostname: zoneminder
# build:
# context: ./build/zoneminder-base
# args:
# ZM_VERSION: 1.36.4
# S6_ARCH: amd64
# #image: ghcr.io/zoneminder-containers/zoneminder-base:latest
# restart: always
# stop_grace_period: 45s
# depends_on:
# - zm-db
# ports:
# - 8081:80
# networks:
# - zoneminder
# volumes:
# - zm_data:/data
# - zm_config:/config
# - zm_log:/log
# - type: tmpfs
# target: /dev/shm
# tmpfs:
# size: 1000000000
# env_file:
# - ./.env
# environment:
# - ZM_SERVER_HOST=zoneminder1
zoneminder:
container_name: zoneminder
hostname: zoneminder
build:
context: ./build/
target: es-final-build
args:
ZM_VERSION: 1.36.4
ES_VERSION: v6.1.25
#image: ghcr.io/zoneminder-containers/eventserver-base:latest
restart: always
stop_grace_period: 45s
depends_on:
- zm-db
ports:
- 8082:80
- 8043:443
- 9010:9000
networks:
- zoneminder
volumes:
- zm_data:/data
- zm_config:/config
- zm_log:/log
- type: tmpfs
target: /dev/shm
tmpfs:
size: 1000000000
env_file:
- ./.env
# environment:
# - ZM_SERVER_HOST=zoneminder1
volumes:
zm_db:
zm_data:
zm_config:
zm_log:
# zm_event_data:
# zm_event_config:
# zm_event_log:
networks:
zoneminder: