Merge pull request #2829 from mateusfmello/fix-minio-healthcheck

fix(MinIO): error in healthcheck command
This commit is contained in:
Andras Bacsai 2024-07-15 11:14:55 +02:00 committed by GitHub
commit 2a44e7c5bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ services:
volumes:
- minio-data:/data
healthcheck:
test: ["CMD", "curl", "-f", "http://127.0.0.1:9000/minio/health/live"]
test: ["CMD", "mc", "ready", "local"]
interval: 5s
timeout: 20s
retries: 10

View File

@ -53,7 +53,7 @@ services:
volumes:
- minio-data:/data
healthcheck:
test: ["CMD", "curl", "-f", "http://127.0.0.1:9000/minio/health/live"]
test: ["CMD", "mc", "ready", "local"]
interval: 5s
timeout: 20s
retries: 10