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:
@@ -52,6 +52,11 @@ services:
|
||||
HUGGINGFACEHUB_API_TOKEN: ${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}
|
||||
@@ -145,11 +150,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:
|
||||
- "${MEGA_SERVICE_PORT}:${MEGA_SERVICE_PORT}"
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user