From 8e7589df8c53bdab7d0d92679a0734708a568c96 Mon Sep 17 00:00:00 2001 From: Pier-Jean Malandrino Date: Fri, 10 Apr 2026 21:58:20 +0200 Subject: [PATCH] fix(ci): embedding healthcheck too aggressive for CI cold start Add start_period: 120s and increase retries to 20 with 15s interval. The model download + load needs time on first build in CI runners. --- docker-compose.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 72bf6bf..e965fc5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -23,9 +23,10 @@ services: EMBEDDING_BATCH_SIZE: ${EMBEDDING_BATCH_SIZE:-64} healthcheck: test: ["CMD-SHELL", "curl -sf http://localhost:8001/health || exit 1"] - interval: 10s - timeout: 5s - retries: 10 + interval: 15s + timeout: 10s + retries: 20 + start_period: 120s deploy: resources: limits: