Skip to content

Commit 13d53de

Browse files
committed
new docker compose
1 parent ec95239 commit 13d53de

File tree

1 file changed

+54
-41
lines changed

1 file changed

+54
-41
lines changed

docker-compose.yml

Lines changed: 54 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,30 @@ services:
88
ports:
99
- "4200:4200"
1010
depends_on:
11-
- core
12-
- alerts
13-
- alert_rules
14-
- detection_lists
15-
- cases
16-
- storage
17-
- connected_server
18-
- audit_log
19-
- file_events
20-
- preservation_data_service
21-
- exfiltration_data_service
22-
- trusted_activities
11+
core:
12+
condition: service_healthy
13+
alerts:
14+
condition: service_healthy
15+
alert-rules:
16+
condition: service_healthy
17+
detection-lists:
18+
condition: service_healthy
19+
cases:
20+
condition: service_healthy
21+
storage:
22+
condition: service_healthy
23+
connected-server:
24+
condition: service_healthy
25+
audit-log:
26+
condition: service_healthy
27+
file-events:
28+
condition: service_healthy
29+
preservation-data-service:
30+
condition: service_healthy
31+
exfiltration-data-service:
32+
condition: service_healthy
33+
trusted-activities:
34+
condition: service_healthy
2335

2436
core:
2537
image: c42/mock-microservice-endpoints:1.0
@@ -31,6 +43,7 @@ services:
3143
command: mock docs/core.yml -p 4200 -h 0.0.0.0
3244
healthcheck:
3345
test: ["CMD-SHELL", "curl -f http://core:4200 || exit 1"]
46+
# test: ["CMD-SHELL", "curl -f http://localhost:4200/core || exit 1"]
3447
interval: 30s
3548
timeout: 15s
3649
retries: 3
@@ -214,35 +227,35 @@ services:
214227
- api-integration-test-network
215228

216229

217-
health_checker:
218-
image: c42/mock-microservice-endpoints:1.0
219-
entrypoint: ["echo", "All mock server containers are responding to requests!"]
220-
container_name: "health_checker"
221-
depends_on:
222-
core:
223-
condition: service_healthy
224-
alerts:
225-
condition: service_healthy
226-
alert-rules:
227-
condition: service_healthy
228-
detection-lists:
229-
condition: service_healthy
230-
cases:
231-
condition: service_healthy
232-
storage:
233-
condition: service_healthy
234-
connected-server:
235-
condition: service_healthy
236-
audit-log:
237-
condition: service_healthy
238-
file-events:
239-
condition: service_healthy
240-
preservation-data-service:
241-
condition: service_healthy
242-
exfiltration-data-service:
243-
condition: service_healthy
244-
trusted-activities:
245-
condition: service_healthy
230+
# health_checker:
231+
# image: c42/mock-microservice-endpoints:1.0
232+
# entrypoint: ["echo", "All mock server containers are responding to requests!"]
233+
# container_name: "health_checker"
234+
# depends_on:
235+
# core:
236+
# condition: service_healthy
237+
# alerts:
238+
# condition: service_healthy
239+
# alert-rules:
240+
# condition: service_healthy
241+
# detection-lists:
242+
# condition: service_healthy
243+
# cases:
244+
# condition: service_healthy
245+
# storage:
246+
# condition: service_healthy
247+
# connected-server:
248+
# condition: service_healthy
249+
# audit-log:
250+
# condition: service_healthy
251+
# file-events:
252+
# condition: service_healthy
253+
# preservation-data-service:
254+
# condition: service_healthy
255+
# exfiltration-data-service:
256+
# condition: service_healthy
257+
# trusted-activities:
258+
# condition: service_healthy
246259

247260
networks:
248261
api-integration-test-network:

0 commit comments

Comments
 (0)