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-dev.yml
121 lines (110 loc) · 2.96 KB
/
docker-compose-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
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:
build: ./components/exp-test-agent
environment:
- RABBITMQ_HOST=guest:guest@rabbitmq:5672
- RUNNER_URL=http://aeon-runner: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:
image: aista/aeon-runner
ports:
- "8001:8080"