fix(MinIO): new command healthcheck

MinIO container were not available, as they do not contain the CURL or WGET commands, but MinIO has its own verification command:
https://github.com/minio/minio/issues/18389
This commit is contained in:
Mateus Fernandes 2024-07-13 12:33:54 -03:00
parent b110d0c12b
commit bec47487dd

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