@@ -80,7 +80,7 @@ services:
8080 container_name : embedding-tei-server
8181 depends_on :
8282 tei-embedding-service :
83- condition : service_started
83+ condition : service_healthy
8484 ports :
8585 - " 6000:6000"
8686 ipc : host
@@ -93,8 +93,9 @@ services:
9393 healthcheck :
9494 test : ["CMD", "curl", "-f", "http://localhost:6000/v1/health"]
9595 interval : 30s
96- timeout : 10s
97- retries : 3
96+ timeout : 15s
97+ retries : 10
98+ start_period : 60s
9899
99100 # Retriever Microservice
100101 retriever :
@@ -150,7 +151,7 @@ services:
150151 container_name : reranking-tei-server
151152 depends_on :
152153 tei-reranking-service :
153- condition : service_started
154+ condition : service_healthy
154155 ports :
155156 - " 8000:8000"
156157 ipc : host
@@ -163,8 +164,9 @@ services:
163164 healthcheck :
164165 test : ["CMD", "curl", "-f", "http://localhost:8000/v1/health"]
165166 interval : 30s
166- timeout : 10s
167- retries : 3
167+ timeout : 15s
168+ retries : 10
169+ start_period : 60s
168170
169171 # TGI Service - Intel neural-chat model (Xeon optimized)
170172 tgi-service :
@@ -201,7 +203,7 @@ services:
201203 container_name : llm-tgi-server
202204 depends_on :
203205 tgi-service :
204- condition : service_started
206+ condition : service_healthy
205207 ports :
206208 - " 9000:9000"
207209 ipc : host
@@ -215,8 +217,9 @@ services:
215217 healthcheck :
216218 test : ["CMD", "curl", "-f", "http://localhost:9000/v1/health"]
217219 interval : 30s
218- timeout : 10s
219- retries : 3
220+ timeout : 15s
221+ retries : 10
222+ start_period : 60s
220223
221224 # Data Preparation Microservice
222225 dataprep-redis :
@@ -226,7 +229,7 @@ services:
226229 redis-vector-db :
227230 condition : service_healthy
228231 tei-embedding-service :
229- condition : service_started
232+ condition : service_healthy
230233 ports :
231234 - " 6007:6007"
232235 environment :
@@ -239,8 +242,9 @@ services:
239242 healthcheck :
240243 test : ["CMD", "curl", "-f", "http://localhost:6007/v1/health"]
241244 interval : 30s
242- timeout : 10s
243- retries : 3
245+ timeout : 15s
246+ retries : 10
247+ start_period : 60s
244248
245249 # Cogniware IMS Backend (Megaservice + Application Logic)
246250 cogniwareims-backend :
0 commit comments