-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
167 lines (153 loc) · 6.76 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
version: '2.4'
services:
edgeai_8cwH3zaAWEwLPTB9XSHJNE_datasource-1:
environment:
ECCI_PUB_TARGETS: "{'feature-extraction-1': 'WbQFj3A6FhvHpWuJoBgYNL'}"
ECCI_CONTAINER_TYPE: edge
ECCI_APP_ID: 8cwH3zaAWEwLPTB9XSHJNE
ECCI_CONTAINER_NAME: datasource-1
ECCI_LOCAL_CONTAINERS: "['edgeai_8cwH3zaAWEwLPTB9XSHJNE_preprocess']"
ECCI_LOCAL_BROKER_IP: 192.168.0.23
ECCI_LOCAL_BROKER_PORT: 1888
ECCI_LOCAL_BROKER_ID: WbQFj3A6FhvHpWuJoBgYNL
ECCI_AGENT_ID: agent-id
ECCI_APP_TYPE: controller
ECCI_AGENT_IP: 192.168.0.23
REDIS1_IP: 192.168.0.21
REDIS1_PORT: 6379
REDIS2_IP: 192.168.0.22
REDIS2_PORT: 6380
volumes:
- ./datasource/main.py:/datasource/main.py
- ./datasource/ecci_sdk.py:/datasource/ecci_sdk.py
image: datasource:v1
container_name: edgeai_8cwH3zaAWEwLPTB9XSHJNE_datasource-1
restart: always
edgeai_8cwH3zaAWEwLPTB9XSHJNE_feature-extraction-1:
environment:
ECCI_PUB_TARGETS: "{'irons-1': 'WbQFj3A6FhvHpWuJoBgYNL', 'life-1': 'WbQFj3A6FhvHpWuJoBgYNL', 'running-1': 'WbQFj3A6FhvHpWuJoBgYNL','save-1': 'WbQFj3A6FhvHpWuJoBgYNL', 'cluster-1': 'WbQFj3A6FhvHpWuJoBgYNL'}"
ECCI_CONTAINER_TYPE: edge
ECCI_APP_ID: 8cwH3zaAWEwLPTB9XSHJNE
ECCI_CONTAINER_NAME: feature-extraction-1
ECCI_LOCAL_CONTAINERS: "['edgeai_8cwH3zaAWEwLPTB9XSHJNE_feature-extraction']"
ECCI_LOCAL_BROKER_IP: 192.168.0.23
ECCI_LOCAL_BROKER_PORT: 1888
ECCI_LOCAL_BROKER_ID: WbQFj3A6FhvHpWuJoBgYNL
ECCI_AGENT_ID: agent-id
ECCI_APP_TYPE: controller
ECCI_AGENT_IP: 192.168.0.23
volumes:
- ./featExt/feature_extract.py:/featExt/feature_extract.py
- ./featExt/feature_extract_func.py:/featExt/feature_extract_func.py
- ./featExt/ecci_sdk.py:/featExt/ecci_sdk.py
image: feature_extract:v1
container_name: edgeai_8cwH3zaAWEwLPTB9XSHJNE_feature-extraction-1
restart: always
edgeai_8cwH3zaAWEwLPTB9XSHJNE_cluster-1:
environment:
ECCI_PUB_TARGETS: "{'save-1': 'WbQFj3A6FhvHpWuJoBgYNL'}"
ECCI_CONTAINER_TYPE: edge
ECCI_APP_ID: 8cwH3zaAWEwLPTB9XSHJNE
ECCI_CONTAINER_NAME: cluster-1
ECCI_LOCAL_CONTAINERS: "['edgeai_8cwH3zaAWEwLPTB9XSHJNE_cluster']"
ECCI_LOCAL_BROKER_IP: 192.168.0.23
ECCI_LOCAL_BROKER_PORT: 1888
ECCI_LOCAL_BROKER_ID: WbQFj3A6FhvHpWuJoBgYNL
ECCI_AGENT_ID: agent-id
ECCI_APP_TYPE: controller
ECCI_AGENT_IP: 192.168.0.23
volumes:
- ./cluster/ecci_sdk.py:/cluster/ecci_sdk.py
- ./cluster/models:/cluster/models
- ./cluster/pred.py:/cluster/pred.py
image: cluster:v1
container_name: edgeai_8cwH3zaAWEwLPTB9XSHJNE_cluster-1
restart: always
edgeai_8cwH3zaAWEwLPTB9XSHJNE_life-1:
environment:
ECCI_PUB_TARGETS: "{'save-1': 'WbQFj3A6FhvHpWuJoBgYNL'}"
ECCI_CONTAINER_TYPE: edge
ECCI_APP_ID: 8cwH3zaAWEwLPTB9XSHJNE
ECCI_CONTAINER_NAME: life-1
ECCI_LOCAL_CONTAINERS: "['edgeai_8cwH3zaAWEwLPTB9XSHJNE_preprocess']"
ECCI_LOCAL_BROKER_IP: 192.168.0.23
ECCI_LOCAL_BROKER_PORT: 1888
ECCI_LOCAL_BROKER_ID: WbQFj3A6FhvHpWuJoBgYNL
ECCI_AGENT_ID: agent-id
ECCI_APP_TYPE: controller
ECCI_AGENT_IP: 192.168.0.23
volumes:
- ./life/pred.py:/life/pred.py
- ./life/ecci_sdk.py:/life/ecci_sdk.py
- ./life/results.txt:/life/results.txt
- ./life/models:/life/models
image: life:v1
container_name: edgeai_8cwH3zaAWEwLPTB9XSHJNE_life-1
restart: always
edgeai_8cwH3zaAWEwLPTB9XSHJNE_irons-1:
environment:
ECCI_PUB_TARGETS: "{'save-1': 'WbQFj3A6FhvHpWuJoBgYNL'}"
ECCI_CONTAINER_TYPE: edge
ECCI_APP_ID: 8cwH3zaAWEwLPTB9XSHJNE
ECCI_CONTAINER_NAME: irons-1
ECCI_LOCAL_CONTAINERS: "['edgeai_8cwH3zaAWEwLPTB9XSHJNE_preprocess']"
ECCI_LOCAL_BROKER_IP: 192.168.0.23
ECCI_LOCAL_BROKER_PORT: 1888
ECCI_LOCAL_BROKER_ID: WbQFj3A6FhvHpWuJoBgYNL
ECCI_AGENT_ID: agent-id
ECCI_APP_TYPE: controller
ECCI_AGENT_IP: 192.168.0.23
volumes:
- ./irons/pred.py:/irons/pred.py
- ./irons/ecci_sdk.py:/irons/ecci_sdk.py
- ./irons/results.txt:/irons/results.txt
- ./irons/models:/irons/models
image: irons:v1
container_name: edgeai_8cwH3zaAWEwLPTB9XSHJNE_irons-1
restart: always
edgeai_8cwH3zaAWEwLPTB9XSHJNE_running-1:
environment:
ECCI_PUB_TARGETS: "{'save-1': 'WbQFj3A6FhvHpWuJoBgYNL'}"
ECCI_CONTAINER_TYPE: edge
ECCI_APP_ID: 8cwH3zaAWEwLPTB9XSHJNE
ECCI_CONTAINER_NAME: running-1
ECCI_LOCAL_CONTAINERS: "['edgeai_8cwH3zaAWEwLPTB9XSHJNE_preprocess']"
ECCI_LOCAL_BROKER_IP: 192.168.0.23
ECCI_LOCAL_BROKER_PORT: 1888
ECCI_LOCAL_BROKER_ID: WbQFj3A6FhvHpWuJoBgYNL
ECCI_AGENT_ID: agent-id
ECCI_APP_TYPE: controller
ECCI_AGENT_IP: 192.168.0.23
volumes:
- ./running/pred.py:/running/pred.py
- ./running/ecci_sdk.py:/running/ecci_sdk.py
- ./running/results.txt:/running/results.txt
- ./running/models:/running/models
image: running:v1
container_name: edgeai_8cwH3zaAWEwLPTB9XSHJNE_running-1
restart: always
edgeai_8cwH3zaAWEwLPTB9XSHJNE_save-1:
environment:
ECCI_CONTAINER_TYPE: edge
ECCI_APP_ID: 8cwH3zaAWEwLPTB9XSHJNE
ECCI_CONTAINER_NAME: save-1
ECCI_LOCAL_CONTAINERS: "['edgeai_8cwH3zaAWEwLPTB9XSHJNE_preprocess']"
ECCI_LOCAL_BROKER_IP: 192.168.0.23
ECCI_LOCAL_BROKER_PORT: 1888
ECCI_LOCAL_BROKER_ID: WbQFj3A6FhvHpWuJoBgYNL
ECCI_AGENT_ID: agent-id
ECCI_APP_TYPE: controller
ECCI_AGENT_IP: 192.168.0.23
ORACLE_IP: 39.99.136.63
ORACLE_PORT: 1521
ORACLE_SERVICE: helowin
ORACLE_USER: gxb
ORACLE_PWD: gxb
volumes:
# - ./save/pred.py:/save/pred.py
- ./save/insert.py:/save/insert.py
- ./save/ecci_sdk.py:/save/ecci_sdk.py
- ./save/results.txt:/save/results.txt
image: save:v1
container_name: edgeai_8cwH3zaAWEwLPTB9XSHJNE_save-1
restart: always