Enable dataprep health check for examples (#1800)

Signed-off-by: letonghan <letong.han@intel.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Letong Han
2025-04-17 15:52:06 +08:00
committed by GitHub
parent ae31e4fb75
commit 7c6189cf43
12 changed files with 201 additions and 73 deletions

View File

@@ -38,6 +38,11 @@ services:
HUGGINGFACEHUB_API_TOKEN: ${MULTIMODAL_HUGGINGFACEHUB_API_TOKEN}
MULTIMODAL_DATAPREP: true
DATAPREP_COMPONENT_NAME: "OPEA_DATAPREP_MULTIMODALREDIS"
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:5000/v1/health_check || exit 1"]
interval: 10s
timeout: 5s
retries: 10
restart: unless-stopped
embedding-multimodal-bridgetower:
image: ${REGISTRY:-opea}/embedding-multimodal-bridgetower:${TAG:-latest}
@@ -144,11 +149,16 @@ services:
image: ${REGISTRY:-opea}/multimodalqna:${TAG:-latest}
container_name: multimodalqna-backend-server
depends_on:
- redis-vector-db
- dataprep-multimodal-redis
- embedding
- retriever-redis
- lvm
redis-vector-db:
condition: service_started
dataprep-multimodal-redis:
condition: service_healthy
embedding:
condition: service_started
retriever-redis:
condition: service_started
lvm:
condition: service_started
ports:
- "8888:8888"
environment: