Skip to content

Commit 94253a6

Browse files
committed
remove health checks
1 parent f8485c0 commit 94253a6

File tree

1 file changed

+12
-77
lines changed

1 file changed

+12
-77
lines changed

docker-compose.yml

Lines changed: 12 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -9,34 +9,29 @@ services:
99
- "4200:80"
1010
depends_on:
1111
core:
12-
condition: service_healthy
12+
condition: service_started
1313
alerts:
14-
condition: service_healthy
14+
condition: service_started
1515
alert-rules:
16-
condition: service_healthy
16+
condition: service_started
1717
detection-lists:
18-
condition: service_healthy
18+
condition: service_started
1919
cases:
20-
condition: service_healthy
20+
condition: service_started
2121
storage:
22-
condition: service_healthy
22+
condition: service_started
2323
connected-server:
24-
condition: service_healthy
24+
condition: service_started
2525
audit-log:
26-
condition: service_healthy
26+
condition: service_started
2727
file-events:
28-
condition: service_healthy
28+
condition: service_started
2929
preservation-data-service:
30-
condition: service_healthy
30+
condition: service_started
3131
exfiltration-data-service:
32-
condition: service_healthy
32+
condition: service_started
3333
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
4035

4136
core:
4237
image: c42/mock-microservice-endpoints:1.0
@@ -46,11 +41,6 @@ services:
4641
container_name: mock_core
4742
restart: always
4843
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
5444

5545
alerts:
5646
image: c42/mock-microservice-endpoints:1.0
@@ -60,11 +50,6 @@ services:
6050
container_name: mock_alerts
6151
restart: always
6252
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
6853

6954
alert-rules:
7055
image: c42/mock-microservice-endpoints:1.0
@@ -74,11 +59,6 @@ services:
7459
container_name: mock_alert_rules
7560
restart: always
7661
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
8262

8363
detection-lists:
8464
image: c42/mock-microservice-endpoints:1.0
@@ -88,11 +68,6 @@ services:
8868
container_name: mock_detection_lists
8969
restart: always
9070
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
9671

9772
cases:
9873
image: c42/mock-microservice-endpoints:1.0
@@ -102,11 +77,6 @@ services:
10277
container_name: mock_cases
10378
restart: always
10479
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
11080

11181
storage:
11282
image: c42/mock-microservice-endpoints:1.0
@@ -116,11 +86,6 @@ services:
11686
container_name: mock_storage
11787
restart: always
11888
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
12489

12590
connected-server:
12691
image: c42/mock-microservice-endpoints:1.0
@@ -130,11 +95,6 @@ services:
13095
container_name: mock_connected_server
13196
restart: always
13297
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
13898

13999
audit-log:
140100
image: c42/mock-microservice-endpoints:1.0
@@ -144,11 +104,6 @@ services:
144104
container_name: mock_audit_log
145105
restart: always
146106
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
152107

153108
file-events:
154109
image: c42/mock-microservice-endpoints:1.0
@@ -158,11 +113,6 @@ services:
158113
container_name: mock_file_events
159114
restart: always
160115
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
166116

167117
preservation-data-service:
168118
image: c42/mock-microservice-endpoints:1.0
@@ -172,11 +122,6 @@ services:
172122
container_name: mock_preservation_data_service
173123
restart: always
174124
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
180125

181126
exfiltration-data-service:
182127
image: c42/mock-microservice-endpoints:1.0
@@ -186,11 +131,6 @@ services:
186131
container_name: mock_exfiltration_data_service
187132
restart: always
188133
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
194134

195135
trusted-activities:
196136
image: c42/mock-microservice-endpoints:1.0
@@ -200,8 +140,3 @@ services:
200140
container_name: mock_trusted_activities
201141
restart: always
202142
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

Comments
 (0)