Fix Multimodal & ProductivitySuite Issue (#1820)

1. add data-prep health check
2. add create conda env

Signed-off-by: letonghan <letong.han@intel.com>
This commit is contained in:
Letong Han
2025-04-17 09:30:15 +08:00
committed by GitHub
parent 8aa96c6278
commit b80449b8ab
3 changed files with 53 additions and 22 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: 50
restart: unless-stopped
embedding-multimodal-bridgetower:
image: ${REGISTRY:-opea}/embedding-multimodal-bridgetower:${TAG:-latest}
@@ -140,11 +145,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: