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.
This commit is contained in:
Pier-Jean Malandrino 2026-04-10 21:58:20 +02:00
parent bd232bdef3
commit 8e7589df8c

View file

@ -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: