162 lines
5.1 KiB
YAML
162 lines
5.1 KiB
YAML
# Copyright (C) 2024 Intel Corporation
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
services:
|
|
whisper-service:
|
|
image: ${REGISTRY:-opea}/whisper:${TAG:-latest}
|
|
container_name: whisper-service
|
|
ports:
|
|
- "7066:7066"
|
|
ipc: host
|
|
environment:
|
|
no_proxy: ${no_proxy}
|
|
http_proxy: ${http_proxy}
|
|
https_proxy: ${https_proxy}
|
|
restart: unless-stopped
|
|
redis-vector-db:
|
|
image: redis/redis-stack:7.2.0-v9
|
|
container_name: redis-vector-db
|
|
ports:
|
|
- "6379:6379"
|
|
- "8001:8001"
|
|
dataprep-multimodal-redis:
|
|
image: ${REGISTRY:-opea}/dataprep-multimodal-redis:${TAG:-latest}
|
|
container_name: dataprep-multimodal-redis
|
|
depends_on:
|
|
- redis-vector-db
|
|
- lvm-llava
|
|
ports:
|
|
- "6007:6007"
|
|
environment:
|
|
no_proxy: ${no_proxy}
|
|
http_proxy: ${http_proxy}
|
|
https_proxy: ${https_proxy}
|
|
REDIS_URL: ${REDIS_URL}
|
|
REDIS_HOST: ${REDIS_HOST}
|
|
INDEX_NAME: ${INDEX_NAME}
|
|
LVM_ENDPOINT: "http://${LVM_SERVICE_HOST_IP}:9399/v1/lvm"
|
|
HUGGINGFACEHUB_API_TOKEN: ${HUGGINGFACEHUB_API_TOKEN}
|
|
restart: unless-stopped
|
|
embedding-multimodal-bridgetower:
|
|
image: ${REGISTRY:-opea}/embedding-multimodal-bridgetower:${TAG:-latest}
|
|
container_name: embedding-multimodal-bridgetower
|
|
ports:
|
|
- ${EMBEDDER_PORT}:${EMBEDDER_PORT}
|
|
environment:
|
|
no_proxy: ${no_proxy}
|
|
http_proxy: ${http_proxy}
|
|
https_proxy: ${https_proxy}
|
|
PORT: ${EMBEDDER_PORT}
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "http_proxy='' curl -f http://localhost:${EMBEDDER_PORT}/v1/health_check"]
|
|
interval: 10s
|
|
timeout: 6s
|
|
retries: 18
|
|
start_period: 30s
|
|
entrypoint: ["python", "bridgetower_server.py", "--device", "cpu", "--model_name_or_path", $EMBEDDING_MODEL_ID]
|
|
restart: unless-stopped
|
|
embedding-tei:
|
|
image: ${REGISTRY:-opea}/embedding-tei:${TAG:-latest}
|
|
container_name: embedding-tei
|
|
depends_on:
|
|
embedding-multimodal-bridgetower:
|
|
condition: service_healthy
|
|
ports:
|
|
- ${MM_EMBEDDING_PORT_MICROSERVICE}:${MM_EMBEDDING_PORT_MICROSERVICE}
|
|
ipc: host
|
|
environment:
|
|
no_proxy: ${no_proxy}
|
|
http_proxy: ${http_proxy}
|
|
https_proxy: ${https_proxy}
|
|
MMEI_EMBEDDING_ENDPOINT: ${MMEI_EMBEDDING_ENDPOINT}
|
|
MM_EMBEDDING_PORT_MICROSERVICE: ${MM_EMBEDDING_PORT_MICROSERVICE}
|
|
MULTIMODAL_EMBEDDING: true
|
|
restart: unless-stopped
|
|
retriever-redis:
|
|
image: ${REGISTRY:-opea}/retriever-redis:${TAG:-latest}
|
|
container_name: retriever-redis
|
|
depends_on:
|
|
- redis-vector-db
|
|
ports:
|
|
- "7000:7000"
|
|
ipc: host
|
|
environment:
|
|
no_proxy: ${no_proxy}
|
|
http_proxy: ${http_proxy}
|
|
https_proxy: ${https_proxy}
|
|
REDIS_URL: ${REDIS_URL}
|
|
INDEX_NAME: ${INDEX_NAME}
|
|
BRIDGE_TOWER_EMBEDDING: ${BRIDGE_TOWER_EMBEDDING}
|
|
RETRIEVER_TYPE: "redis"
|
|
restart: unless-stopped
|
|
lvm-llava:
|
|
image: ${REGISTRY:-opea}/lvm-llava:${TAG:-latest}
|
|
container_name: lvm-llava
|
|
ports:
|
|
- "8399:8399"
|
|
environment:
|
|
no_proxy: ${no_proxy}
|
|
http_proxy: ${http_proxy}
|
|
https_proxy: ${https_proxy}
|
|
entrypoint: ["python", "llava_server.py", "--device", "cpu", "--model_name_or_path", $LVM_MODEL_ID]
|
|
restart: unless-stopped
|
|
lvm-llava-svc:
|
|
image: ${REGISTRY:-opea}/lvm-llava-svc:${TAG:-latest}
|
|
container_name: lvm-llava-svc
|
|
depends_on:
|
|
- lvm-llava
|
|
ports:
|
|
- "9399:9399"
|
|
ipc: host
|
|
environment:
|
|
no_proxy: ${no_proxy}
|
|
http_proxy: ${http_proxy}
|
|
https_proxy: ${https_proxy}
|
|
LVM_ENDPOINT: ${LVM_ENDPOINT}
|
|
restart: unless-stopped
|
|
multimodalqna:
|
|
image: ${REGISTRY:-opea}/multimodalqna:${TAG:-latest}
|
|
container_name: multimodalqna-backend-server
|
|
depends_on:
|
|
- redis-vector-db
|
|
- dataprep-multimodal-redis
|
|
- embedding-tei
|
|
- retriever-redis
|
|
- lvm-llava-svc
|
|
ports:
|
|
- "8888:8888"
|
|
environment:
|
|
no_proxy: ${no_proxy}
|
|
https_proxy: ${https_proxy}
|
|
http_proxy: ${http_proxy}
|
|
MEGA_SERVICE_HOST_IP: ${MEGA_SERVICE_HOST_IP}
|
|
MM_EMBEDDING_SERVICE_HOST_IP: ${MM_EMBEDDING_SERVICE_HOST_IP}
|
|
MM_EMBEDDING_PORT_MICROSERVICE: ${MM_EMBEDDING_PORT_MICROSERVICE}
|
|
MM_RETRIEVER_SERVICE_HOST_IP: ${MM_RETRIEVER_SERVICE_HOST_IP}
|
|
LVM_SERVICE_HOST_IP: ${LVM_SERVICE_HOST_IP}
|
|
WHISPER_SERVER_PORT: ${WHISPER_SERVER_PORT}
|
|
WHISPER_SERVER_ENDPOINT: ${WHISPER_SERVER_ENDPOINT}
|
|
ipc: host
|
|
restart: always
|
|
multimodalqna-ui:
|
|
image: ${REGISTRY:-opea}/multimodalqna-ui:${TAG:-latest}
|
|
container_name: multimodalqna-gradio-ui-server
|
|
depends_on:
|
|
- multimodalqna
|
|
ports:
|
|
- "5173:5173"
|
|
environment:
|
|
- no_proxy=${no_proxy}
|
|
- https_proxy=${https_proxy}
|
|
- http_proxy=${http_proxy}
|
|
- BACKEND_SERVICE_ENDPOINT=${BACKEND_SERVICE_ENDPOINT}
|
|
- DATAPREP_INGEST_SERVICE_ENDPOINT=${DATAPREP_INGEST_SERVICE_ENDPOINT}
|
|
- DATAPREP_GEN_TRANSCRIPT_SERVICE_ENDPOINT=${DATAPREP_GEN_TRANSCRIPT_SERVICE_ENDPOINT}
|
|
- DATAPREP_GEN_CAPTION_SERVICE_ENDPOINT=${DATAPREP_GEN_CAPTION_SERVICE_ENDPOINT}
|
|
ipc: host
|
|
restart: always
|
|
|
|
networks:
|
|
default:
|
|
driver: bridge
|