From 35707e5bd693a0bce2119e3472530191100649d8 Mon Sep 17 00:00:00 2001 From: dip Date: Wed, 8 Jan 2025 09:59:16 +0100 Subject: [PATCH] Fix healthcheck The healthcheck was always failing and the FE would keep in starting status. Signed-off-by: dip --- deploy/docker-compose/docker-compose.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/deploy/docker-compose/docker-compose.yml b/deploy/docker-compose/docker-compose.yml index eddb085..be589c3 100644 --- a/deploy/docker-compose/docker-compose.yml +++ b/deploy/docker-compose/docker-compose.yml @@ -19,7 +19,7 @@ services: volumes: - singleton_fe0_data:/opt/starrocks/fe/meta healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:9030"] + test: ["CMD", "curl", "-f", "http://root:@localhost:8030"] interval: 5s timeout: 5s retries: 30 @@ -39,7 +39,9 @@ services: ports: - "8040:8040" depends_on: - - starrocks-fe-0 + starrocks-fe-0: + condition: service_healthy + volumes: - singleton_be0_data:/opt/starrocks/be/storage