Skip to content

Commit d3f3e90

Browse files
authored
Use mc to determine minio readyness (#3680)
1 parent 8018b60 commit d3f3e90

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docker-compose.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,15 @@ services:
6464
ports:
6565
- "127.0.0.1:9001:9001"
6666
- "127.0.0.1:9000:9000"
67+
environment:
68+
MC_HOST_custom: http://localhost:9001
6769
healthcheck:
6870
test:
6971
[
7072
"CMD",
71-
"curl",
72-
"-f",
73-
"http://localhost:9001/minio/health/live"
73+
"mc",
74+
"ready",
75+
"custom"
7476
]
7577
interval: 30s
7678
timeout: 20s

0 commit comments

Comments
 (0)