This repository has been archived by the owner on Apr 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 38
/
docker-compose-5agents-dev.yml
193 lines (174 loc) · 5.11 KB
/
docker-compose-5agents-dev.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
version: '2.1'
services:
coordinator-agent:
build: ./components/coordinator-agent
environment:
- RABBITMQ_HOST=guest:guest@rabbitmq:5672
- LOGGING_LEVEL=20 # this is standard Python logging mapping, 20 = INFO
depends_on:
rabbitmq:
condition: service_healthy
page-analyzer:
build: ./components/page-analyzer
environment:
- SERVICE_PORT=9000
- LOGGING_LEVEL=20 # this is standard Python logging mapping, 20 = INFO
ports:
- "9000:9000"
volumes:
- ./components/page-analyzer/src/data:/app/src/data
form-expert:
build: ./components/form-expert
environment:
- SERVICE_PORT=9003
- FORM_EXPERT_MONGO_URI=mongodb://mongo:27017
- LOGGING_LEVEL=20 # this is standard Python logging mapping, 20 = INFO
ports:
- "9003:9003"
healthcheck:
test: curl --fail -s http://localhost:9003/api/v1/health_check || exit 1
interval: 5s
timeout: 5s
retries: 3
depends_on:
- mongo
seeding:
build: ./seeding
environment:
- FORM_EXPERT_URL=http://form-expert:9003
- LOGGING_LEVEL=20 # this is standard Python logging mapping, 20 = INFO
depends_on:
form-expert:
condition: service_healthy
flow-generator:
build: ./components/flow-generator
environment:
- SERVICE_PORT=9001
- LOGGING_LEVEL=20 # this is standard Python logging mapping, 20 = INFO
ports:
- "9001:9001"
pet-clinic:
image: jbrisbin/spring-petclinic
ports:
- "8080:8080"
logging:
driver: none
gateway:
build: ./components/gateway
environment:
- SERVICE_PORT=9002
- RABBITMQ_HOST=guest:guest@rabbitmq:5672
- LOGGING_LEVEL=20 # this is standard Python logging mapping, 20 = INFO
ports:
- "9002:9002"
flower:
build: ./deployment/flower
environment:
- RABBITMQ_HOST=guest:guest@rabbitmq:5672
- LOGGING_LEVEL=20 # this is standard Python logging mapping, 20 = INFO
ports:
- "5555:5555"
depends_on:
rabbitmq:
condition: service_healthy
rabbitmq:
image: rabbitmq:3.7.8-management-alpine
ports:
- "15672:15672"
- "5672:5672"
healthcheck:
timeout: 5s
interval: 5s
retries: 10
test:
- "CMD"
- "rabbitmqctl"
- "status"
logging:
driver: none
mongo:
image: mongo
ports:
- "27017:27017"
logging:
driver: none
exp-test-agent-1:
build: ./components/exp-test-agent
environment:
- RABBITMQ_HOST=guest:guest@rabbitmq:5672
- RUNNER_URL=http://aeon-runner-1:8080
- PAGE_ANALYSIS_URL=http://page-analyzer:9000
- FLOW_GENERATION_URL=http://flow-generator:9001
- FORM_EXPERT_URL=http://form-expert:9003
- LOGGING_LEVEL=20 # this is standard Python logging mapping, 20 = INFO
depends_on:
rabbitmq:
condition: service_healthy
exp-test-agent-2:
build: ./components/exp-test-agent
environment:
- RABBITMQ_HOST=guest:guest@rabbitmq:5672
- RUNNER_URL=http://aeon-runner-2:8080
- PAGE_ANALYSIS_URL=http://page-analyzer:9000
- FLOW_GENERATION_URL=http://flow-generator:9001
- FORM_EXPERT_URL=http://form-expert:9003
- LOGGING_LEVEL=20 # this is standard Python logging mapping, 20 = INFO
depends_on:
rabbitmq:
condition: service_healthy
exp-test-agent-3:
build: ./components/exp-test-agent
environment:
- RABBITMQ_HOST=guest:guest@rabbitmq:5672
- RUNNER_URL=http://aeon-runner-3:8080
- PAGE_ANALYSIS_URL=http://page-analyzer:9000
- FLOW_GENERATION_URL=http://flow-generator:9001
- FORM_EXPERT_URL=http://form-expert:9003
- LOGGING_LEVEL=20 # this is standard Python logging mapping, 20 = INFO
depends_on:
rabbitmq:
condition: service_healthy
exp-test-agent-4:
build: ./components/exp-test-agent
environment:
- RABBITMQ_HOST=guest:guest@rabbitmq:5672
- RUNNER_URL=http://aeon-runner-4:8080
- PAGE_ANALYSIS_URL=http://page-analyzer:9000
- FLOW_GENERATION_URL=http://flow-generator:9001
- FORM_EXPERT_URL=http://form-expert:9003
- LOGGING_LEVEL=20 # this is standard Python logging mapping, 20 = INFO
depends_on:
rabbitmq:
condition: service_healthy
exp-test-agent-5:
build: ./components/exp-test-agent
environment:
- RABBITMQ_HOST=guest:guest@rabbitmq:5672
- RUNNER_URL=http://aeon-runner-5:8080
- PAGE_ANALYSIS_URL=http://page-analyzer:9000
- FLOW_GENERATION_URL=http://flow-generator:9001
- FORM_EXPERT_URL=http://form-expert:9003
- LOGGING_LEVEL=20 # this is standard Python logging mapping, 20 = INFO
depends_on:
rabbitmq:
condition: service_healthy
aeon-runner-1:
image: aista/aeon-runner
ports:
- "8001:8080"
aeon-runner-2:
image: aista/aeon-runner
ports:
- "8002:8080"
aeon-runner-3:
image: aista/aeon-runner
ports:
- "8003:8080"
aeon-runner-4:
image: aista/aeon-runner
ports:
- "8004:8080"
aeon-runner-5:
image: aista/aeon-runner
ports:
- "8005:8080"