Skip to content

Commit 531bb1b

Browse files
committed
fix: update minio health check
minio/minio#18389
1 parent 7596239 commit 531bb1b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/docker-compose.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ services:
1313
- MINIO_ROOT_PASSWORD=${BATS_S3_SECRET_ACCESS_KEY}
1414
command: server /data --console-address ":9001"
1515
healthcheck:
16-
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
17-
interval: 30s
18-
timeout: 20s
19-
retries: 3
16+
test: [ "CMD", "mc", "ready", "local" ]
17+
interval: 5s
18+
timeout: 5s
19+
retries: 5
2020
networks:
2121
- default
2222
mem_limit: 512m

0 commit comments

Comments
 (0)