@@ -9,34 +9,29 @@ services:
9
9
- " 4200:80"
10
10
depends_on :
11
11
core :
12
- condition : service_healthy
12
+ condition : service_started
13
13
alerts :
14
- condition : service_healthy
14
+ condition : service_started
15
15
alert-rules :
16
- condition : service_healthy
16
+ condition : service_started
17
17
detection-lists :
18
- condition : service_healthy
18
+ condition : service_started
19
19
cases :
20
- condition : service_healthy
20
+ condition : service_started
21
21
storage :
22
- condition : service_healthy
22
+ condition : service_started
23
23
connected-server :
24
- condition : service_healthy
24
+ condition : service_started
25
25
audit-log :
26
- condition : service_healthy
26
+ condition : service_started
27
27
file-events :
28
- condition : service_healthy
28
+ condition : service_started
29
29
preservation-data-service :
30
- condition : service_healthy
30
+ condition : service_started
31
31
exfiltration-data-service :
32
- condition : service_healthy
32
+ condition : service_started
33
33
trusted-activities :
34
- condition : service_healthy
35
- healthcheck :
36
- test : [ "CMD-SHELL", "curl -f http://localhost || exit 1" ]
37
- interval : 30s
38
- timeout : 15s
39
- retries : 3
34
+ condition : service_started
40
35
41
36
core :
42
37
image : c42/mock-microservice-endpoints:1.0
@@ -46,11 +41,6 @@ services:
46
41
container_name : mock_core
47
42
restart : always
48
43
command : mock docs/core.yml -p 4200 -h 0.0.0.0
49
- healthcheck :
50
- test : ["CMD-SHELL", "curl -f http://core:4200 || exit 1"]
51
- interval : 30s
52
- timeout : 15s
53
- retries : 3
54
44
55
45
alerts :
56
46
image : c42/mock-microservice-endpoints:1.0
@@ -60,11 +50,6 @@ services:
60
50
container_name : mock_alerts
61
51
restart : always
62
52
command : mock docs/alerts.yml -p 4200 -h 0.0.0.0
63
- healthcheck :
64
- test : ["CMD-SHELL", "curl -f http://alerts:4200 || exit 1"]
65
- interval : 30s
66
- timeout : 15s
67
- retries : 3
68
53
69
54
alert-rules :
70
55
image : c42/mock-microservice-endpoints:1.0
@@ -74,11 +59,6 @@ services:
74
59
container_name : mock_alert_rules
75
60
restart : always
76
61
command : mock docs/alert-rules.yml -p 4200 -h 0.0.0.0
77
- healthcheck :
78
- test : ["CMD-SHELL", "curl -f http://alert-rules:4200 || exit 1"]
79
- interval : 30s
80
- timeout : 15s
81
- retries : 3
82
62
83
63
detection-lists :
84
64
image : c42/mock-microservice-endpoints:1.0
@@ -88,11 +68,6 @@ services:
88
68
container_name : mock_detection_lists
89
69
restart : always
90
70
command : mock docs/detection-lists.yml -p 4200 -h 0.0.0.0
91
- healthcheck :
92
- test : ["CMD-SHELL", "curl -f http://detection-lists:4200 || exit 1"]
93
- interval : 30s
94
- timeout : 15s
95
- retries : 3
96
71
97
72
cases :
98
73
image : c42/mock-microservice-endpoints:1.0
@@ -102,11 +77,6 @@ services:
102
77
container_name : mock_cases
103
78
restart : always
104
79
command : mock docs/cases.yml -p 4200 -h 0.0.0.0
105
- healthcheck :
106
- test : ["CMD-SHELL", "curl -f http://cases:4200 || exit 1"]
107
- interval : 30s
108
- timeout : 15s
109
- retries : 3
110
80
111
81
storage :
112
82
image : c42/mock-microservice-endpoints:1.0
@@ -116,11 +86,6 @@ services:
116
86
container_name : mock_storage
117
87
restart : always
118
88
command : mock docs/storage.yml -p 4200 -h 0.0.0.0
119
- healthcheck :
120
- test : ["CMD-SHELL", "curl -f http://storage:4200 || exit 1"]
121
- interval : 30s
122
- timeout : 15s
123
- retries : 3
124
89
125
90
connected-server :
126
91
image : c42/mock-microservice-endpoints:1.0
@@ -130,11 +95,6 @@ services:
130
95
container_name : mock_connected_server
131
96
restart : always
132
97
command : mock docs/connected-server.yml -p 4200 -h 0.0.0.0
133
- healthcheck :
134
- test : ["CMD-SHELL", "curl -f http://connected-server:4200 || exit 1"]
135
- interval : 30s
136
- timeout : 15s
137
- retries : 3
138
98
139
99
audit-log :
140
100
image : c42/mock-microservice-endpoints:1.0
@@ -144,11 +104,6 @@ services:
144
104
container_name : mock_audit_log
145
105
restart : always
146
106
command : mock docs/audit-log.yml -p 4200 -h 0.0.0.0
147
- healthcheck :
148
- test : ["CMD-SHELL", "curl -f http://audit-log:4200 || exit 1"]
149
- interval : 30s
150
- timeout : 15s
151
- retries : 3
152
107
153
108
file-events :
154
109
image : c42/mock-microservice-endpoints:1.0
@@ -158,11 +113,6 @@ services:
158
113
container_name : mock_file_events
159
114
restart : always
160
115
command : mock docs/file-events.yml -p 4200 -h 0.0.0.0
161
- healthcheck :
162
- test : ["CMD-SHELL", "curl -f http://file-events:4200 || exit 1"]
163
- interval : 30s
164
- timeout : 15s
165
- retries : 3
166
116
167
117
preservation-data-service :
168
118
image : c42/mock-microservice-endpoints:1.0
@@ -172,11 +122,6 @@ services:
172
122
container_name : mock_preservation_data_service
173
123
restart : always
174
124
command : mock docs/preservation-data-service.yml -p 4200 -h 0.0.0.0
175
- healthcheck :
176
- test : ["CMD-SHELL", "curl -f http://preservation-data-service:4200 || exit 1"]
177
- interval : 30s
178
- timeout : 15s
179
- retries : 3
180
125
181
126
exfiltration-data-service :
182
127
image : c42/mock-microservice-endpoints:1.0
@@ -186,11 +131,6 @@ services:
186
131
container_name : mock_exfiltration_data_service
187
132
restart : always
188
133
command : mock docs/exfiltration-data-service.yml -p 4200 -h 0.0.0.0
189
- healthcheck :
190
- test : ["CMD-SHELL", "curl -f http://exfiltration-data-service:4200 || exit 1"]
191
- interval : 30s
192
- timeout : 15s
193
- retries : 3
194
134
195
135
trusted-activities :
196
136
image : c42/mock-microservice-endpoints:1.0
@@ -200,8 +140,3 @@ services:
200
140
container_name : mock_trusted_activities
201
141
restart : always
202
142
command : mock docs/trusted-activities.yml -p 4200 -h 0.0.0.0
203
- healthcheck :
204
- test : ["CMD-SHELL", "curl -f http://trusted-activities:4200 || exit 1"]
205
- interval : 30s
206
- timeout : 15s
207
- retries : 3
0 commit comments