-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
54 lines (49 loc) · 1.06 KB
/
Copy pathcompose.yml
File metadata and controls
54 lines (49 loc) · 1.06 KB
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
services:
mosquitto:
image: eclipse-mosquitto:2.0
volumes:
- ./mosquitto.conf:/mosquitto/config/mosquitto.conf:ro
ports:
- "1883:1883"
- "9001:9001"
networks:
- industry-net
control-center:
build: ./control-center
networks:
- industry-net
depends_on:
- mosquitto
production-line-1:
build: ./publisher
volumes:
- ./publisher/config/line1.json:/app/config/line1.json
environment:
- CONFIG_FILE=line1.json
networks:
- industry-net
depends_on:
- mosquitto
production-line-2:
build: ./publisher
volumes:
- ./publisher/config/line2.json:/app/config/line2.json
environment:
- CONFIG_FILE=line2.json
networks:
- industry-net
depends_on:
- mosquitto
production-line-3:
build: ./publisher
volumes:
- ./publisher/config/line3.json:/app/config/line3.json
environment:
- CONFIG_FILE=line3.json
networks:
- industry-net
depends_on:
- mosquitto
networks:
industry-net:
driver: bridge