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:
parent
bd232bdef3
commit
8e7589df8c
1 changed files with 4 additions and 3 deletions
|
|
@ -23,9 +23,10 @@ services:
|
||||||
EMBEDDING_BATCH_SIZE: ${EMBEDDING_BATCH_SIZE:-64}
|
EMBEDDING_BATCH_SIZE: ${EMBEDDING_BATCH_SIZE:-64}
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "curl -sf http://localhost:8001/health || exit 1"]
|
test: ["CMD-SHELL", "curl -sf http://localhost:8001/health || exit 1"]
|
||||||
interval: 10s
|
interval: 15s
|
||||||
timeout: 5s
|
timeout: 10s
|
||||||
retries: 10
|
retries: 20
|
||||||
|
start_period: 120s
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue