-
Notifications
You must be signed in to change notification settings - Fork 85
/
Copy pathdocker-compose.yml
214 lines (199 loc) · 4.06 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
version: '3.7'
services:
portainer:
image: portainer/portainer
restart: always
container_name: portainer
hostname: dc3.portainer
ports:
- "9000:9000"
networks:
dc3net:
aliases:
- dc3.portainer
gateway:
build:
context: ./dc3-gateway/
dockerfile: ./Dockerfile
image: pnoker/dc3-gateway:3.0
restart: always
ports:
- 8000:8000
container_name: dc3.gateway
hostname: dc3.gateway
networks:
dc3net:
aliases:
- dc3.gateway
register:
build:
context: ./dc3-center/dc3-register/
dockerfile: ./Dockerfile
image: pnoker/dc3-register:3.0
restart: always
ports:
- 8100:8100
container_name: dc3.register
hostname: dc3.register
networks:
dc3net:
aliases:
- dc3.register
monitor:
build:
context: ./dc3-center/dc3-monitor/
dockerfile: ./Dockerfile
image: pnoker/dc3-monitor:3.0
restart: always
ports:
- 8200:8200
container_name: dc3.monitor
hostname: dc3.monitor
networks:
dc3net:
aliases:
- dc3.monitor
dbs:
build:
context: ./dc3-center/dc3-dbs/
dockerfile: ./Dockerfile
image: pnoker/dc3-dbs:3.0
restart: always
ports:
- 8300:8300
container_name: dc3.dbs
hostname: dc3.dbs
networks:
dc3net:
aliases:
- dc3.dbs
mysql:
build:
context: ./dc3/dependences/mysql/
dockerfile: ./Dockerfile
image: pnoker/dc3-mysql:3.0
restart: always
ports:
- 3306:3306
container_name: dc3.mysql
hostname: dc3.mysql
networks:
dc3net:
aliases:
- dc3.mysql
mongo:
build:
context: ./dc3/dependences/mongo/
dockerfile: ./Dockerfile
image: pnoker/dc3-mongo:3.0
restart: always
ports:
- 27017:27017
container_name: dc3.mongo
hostname: dc3.mongo
networks:
dc3net:
aliases:
- dc3.mongo
redis:
build:
context: ./dc3/dependences/redis/
dockerfile: ./Dockerfile
image: pnoker/dc3-redis:3.0
restart: always
ports:
- 6379:6379
container_name: dc3.redis
hostname: dc3.redis
networks:
dc3net:
aliases:
- dc3.redis
manager:
build:
context: ./dc3-device/dc3-manager/
dockerfile: ./Dockerfile
image: pnoker/dc3-manager:3.0
restart: always
ports:
- 8600:8600
container_name: dc3.manager
hostname: dc3.manager
networks:
dc3net:
aliases:
- dc3.manager
rabbitmq:
build:
context: ./dc3/dependences/rabbitmq/
dockerfile: ./Dockerfile
image: pnoker/dc3-rabbitmq:3.0
restart: always
ports:
- 5672:5672
- 1883:1883
- 61613:61613
- 15672:15672
container_name: dc3.rabbitmq
hostname: dc3.rabbitmq
networks:
dc3net:
aliases:
- dc3.rabbitmq
opcua:
build:
context: ./dc3-transfer/dc3-opcua/
dockerfile: ./Dockerfile
image: pnoker/dc3-opcua:3.0
restart: always
ports:
- 8802:8802
container_name: dc3.opcua
hostname: dc3.opcua
networks:
dc3net:
aliases:
- dc3.opcua
rtmp:
build:
context: ./dc3-transfer/dc3-rtmp/
dockerfile: ./Dockerfile
image: pnoker/dc3-rtmp:3.0
restart: always
ports:
- 8803:8803
container_name: dc3.rtmp
hostname: dc3.rtmp
networks:
dc3net:
aliases:
- dc3.rtmp
nginx:
image: pnoker/alpine-nginx:rtmp
restart: always
ports:
- 1935:1935
container_name: dc3.nginx
hostname: dc3.nginx
networks:
dc3net:
aliases:
- dc3.nginx
resource:
build:
context: ./dc3-transfer/dc3-resource/
dockerfile: ./Dockerfile
image: pnoker/dc3-resource:3.0
restart: always
ports:
- 8800:8800
container_name: dc3.resource
hostname: dc3.resource
networks:
dc3net:
aliases:
- dc3.resource
networks:
dc3net:
driver: 'overlay'
...