From a20adc8a6db0a30a026ac43b26556ca575d9ffc8 Mon Sep 17 00:00:00 2001 From: Erik Date: Wed, 26 Nov 2025 14:36:45 -0300 Subject: [PATCH] =?UTF-8?q?Fix=20MinIO=20healthcheck=20-=20usar=20tcp=20ch?= =?UTF-8?q?eck=20ao=20inv=C3=A9s=20de=20mc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index ae00b0d..8ec28bd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -34,11 +34,11 @@ services: - occto_network command: server /data --console-address ":9001" healthcheck: - test: ["CMD", "mc", "ready", "local"] - interval: 30s - timeout: 20s - retries: 3 - start_period: 20s + test: ["CMD-SHELL", "timeout 5s bash -c ':> /dev/tcp/127.0.0.1/9000' || exit 1"] + interval: 10s + timeout: 5s + retries: 5 + start_period: 10s frontend: build: