From 123a08ec277a3db57aa10c551e36822463a489e0 Mon Sep 17 00:00:00 2001 From: Sam Rose Date: Fri, 8 Dec 2023 15:48:24 +0000 Subject: [PATCH] Fix MinIO healthcheck. --- hosting/docker-compose.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosting/docker-compose.yaml b/hosting/docker-compose.yaml index 5c347e096e..7803916069 100644 --- a/hosting/docker-compose.yaml +++ b/hosting/docker-compose.yaml @@ -69,7 +69,7 @@ services: MINIO_BROWSER: "off" command: server /data --console-address ":9001" healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"] + test: "timeout 5s bash -c ':> /dev/tcp/127.0.0.1/9000' || exit 1" interval: 30s timeout: 20s retries: 3