-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yml
89 lines (82 loc) · 2.28 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
version: '3.5'
services:
influxdb:
build:
context: modules/influxdb
dockerfile: Dockerfile.influxdb
image: industrialsafetyanddefectdetectionregistry.azurecr.io/influxdb:latest
hostname: influxdb
ports:
- '8086:8086'
grafana:
build:
context: modules/grafana
dockerfile: Dockerfile.grafana
image: industrialsafetyanddefectdetectionregistry.azurecr.io/grafana:latest
links:
- influxdb
- telegraf
ports:
- '3000:3000'
depends_on:
- influxdb
hostname: grafana
simplertspserver:
build:
context: modules/simplertsp
dockerfile: Dockerfile.simplertsp
image: industrialsafetyanddefectdetectionregistry.azurecr.io/simplertspserver:latest
ports:
- '8554:8554'
- '8888:8888'
mosquittoserver:
build:
context: modules/mosquitto
dockerfile: Dockerfile.mosquitto
image: industrialsafetyanddefectdetectionregistry.azurecr.io/mosquitto:latest
ports:
- '1883:1883'
- '9001:9001'
opcua:
build:
context: modules/opcua
dockerfile: Dockerfile.opcua
image: industrialsafetyanddefectdetectionregistry.azurecr.io/opcuaserver:latest
hostname: opcuaserver
ports:
- '4840:4840'
telegraf:
build:
context: modules/telegraf
dockerfile: Dockerfile.telegraf
image: industrialsafetyanddefectdetectionregistry.azurecr.io/telegraf:latest
restart: on-failure
links:
- opcua
- mosquittoserver
depends_on:
- influxdb
- opcua
- mosquittoserver
ports:
- '5100:5100'
industrial-safety:
build:
context: modules/industrial-safety
dockerfile: Dockerfile.openvino
image: industrialsafetyanddefectdetectionregistry.azurecr.io/industrial-safety:latest
restart: on-failure
container_name: industrial-safety
environment:
- DEFECT_TARGET_HARDWARE=$DEFECT_TARGET_HARDWARE
- IOTHUB_DEVICE_DPS_ENDPOINT=$IOTHUB_DEVICE_DPS_ENDPOINT
- IOTHUB_DEVICE_DPS_ID_SCOPE=$IOTHUB_DEVICE_DPS_ID_SCOPE
- IOTHUB_DEVICE_DPS_DEVICE_ID=$IOTHUB_DEVICE_DPS_DEVICE_ID
- IOTHUB_DEVICE_DPS_DEVICE_KEY=$IOTHUB_DEVICE_DPS_DEVICE_KEY
ports:
- '5000:5000'
depends_on:
- simplertspserver
- mosquittoserver
- influxdb
- opcua