Fix MinIO healthcheck - usar mc ready ao invés de curl

This commit is contained in:
Erik
2025-11-26 14:36:17 -03:00
parent 74b0dde806
commit e575269af7

View File

@@ -20,7 +20,7 @@ services:
retries: 5
minio:
image: minio/minio
image: minio/minio:latest
container_name: occto_minio
ports:
- "9000:9000"
@@ -34,10 +34,11 @@ services:
- occto_network
command: server /data --console-address ":9001"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
test: ["CMD", "mc", "ready", "local"]
interval: 30s
timeout: 20s
retries: 3
start_period: 20s
frontend:
build: