Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor docker compose of the dataprep microservice #1227

Merged
merged 53 commits into from
Jan 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
303fa76
Refactor dataprep docker compose files
lvliang-intel Jan 23, 2025
0ffb0d4
Refactor dataprep docker compose files
lvliang-intel Jan 23, 2025
89418f5
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 23, 2025
b4b1a29
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 23, 2025
f295726
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 23, 2025
8f93d84
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 23, 2025
382cbfe
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 23, 2025
4e46079
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 23, 2025
fe07e28
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 23, 2025
02fce59
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 23, 2025
59632e0
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 23, 2025
6af49cf
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 23, 2025
cf59b3b
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 23, 2025
e5f119c
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 23, 2025
cb79c8b
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 23, 2025
e202b56
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 23, 2025
731c5c3
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 23, 2025
5464d5e
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 23, 2025
bcaaeb1
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 23, 2025
225024a
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 23, 2025
f8178d8
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 23, 2025
3a698a3
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 23, 2025
2841659
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 23, 2025
e00f9c6
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 23, 2025
4797a84
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 24, 2025
7c1ad50
Merge branch 'main' into refactor_dataprep_compose
lvliang-intel Jan 24, 2025
b1fc55f
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jan 24, 2025
c58386f
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 24, 2025
d33d00a
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 24, 2025
3d02b96
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 24, 2025
4286100
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 24, 2025
6587932
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 24, 2025
27160cf
Merge branch 'main' of https://github.com/lvliang-intel/GenAIComps in…
lvliang-intel Jan 24, 2025
0d14b9d
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 24, 2025
f04e75a
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 24, 2025
196d60b
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 24, 2025
33ea68f
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jan 24, 2025
bfc5895
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 24, 2025
672e6aa
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 24, 2025
27d135e
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 24, 2025
7adbbf0
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 24, 2025
c34521d
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 24, 2025
8231c98
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 24, 2025
8f8970d
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 24, 2025
2dd0c2d
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 24, 2025
220ca46
Merge branch 'main' of https://github.com/lvliang-intel/GenAIComps in…
lvliang-intel Jan 24, 2025
10ad598
Fix dataprep docker compose ci issues
lvliang-intel Jan 24, 2025
85c20b8
Merge pull request #1 from lvliang-intel/fix_dataprep_ci_issues
lvliang-intel Jan 24, 2025
c8bc7f6
Merge branch 'main' into refactor_dataprep_compose
lvliang-intel Jan 24, 2025
c941d16
Merge branch 'main' into refactor_dataprep_compose
lvliang-intel Jan 24, 2025
36a7250
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 24, 2025
f222957
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 24, 2025
371995a
Merge branch 'refactor_dataprep_compose' of https://github.com/lvlian…
lvliang-intel Jan 24, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
258 changes: 258 additions & 0 deletions comps/dataprep/deployment/docker_compose/compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,258 @@
# Copyright (C) 2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0


include:
- ../../../third_parties/elasticsearch/deployment/docker_compose/compose.yaml
- ../../../third_parties/neo4j/deployment/docker_compose/compose.yaml
- ../../../third_parties/opensearch/deployment/docker_compose/compose.yaml
- ../../../third_parties/pgvector/deployment/docker_compose/compose.yaml
- ../../../third_parties/qdrant/deployment/docker_compose/compose.yaml
- ../../../third_parties/redis/deployment/docker_compose/compose.yaml
- ../../../third_parties/vdms/deployment/docker_compose/compose.yaml
- ../../../third_parties/tgi/deployment/docker_compose/compose.yaml
- ../../../third_parties/tei/deployment/docker_compose/compose.yaml

services:

dataprep-elasticsearch:
image: ${REGISTRY:-opea}/dataprep:${TAG:-latest}
container_name: dataprep-elasticsearch
ports:
- "${DATAPREP_PORT:-11100}:5000"
ipc: host
environment:
no_proxy: ${no_proxy}
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
DATAPREP_COMPONENT_NAME: "OPEA_DATAPREP_ELASTICSEARCH"
ES_CONNECTION_STRING: ${ES_CONNECTION_STRING}
INDEX_NAME: ${INDEX_NAME}
TEI_ENDPOINT: ${TEI_ENDPOINT}
HUGGINGFACEHUB_API_TOKEN: ${HF_TOKEN}
restart: unless-stopped
depends_on:
elasticsearch-vector-db:
condition: service_healthy

dataprep-milvus:
image: ${REGISTRY:-opea}/dataprep:${TAG:-latest}
container_name: dataprep-milvus-server
ports:
- "${DATAPREP_PORT:-11101}:5000"
ipc: host
environment:
no_proxy: ${no_proxy}
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
DATAPREP_COMPONENT_NAME: "OPEA_DATAPREP_MILVUS"
MILVUS_HOST: ${MILVUS_HOST}
TEI_EMBEDDING_ENDPOINT: ${TEI_EMBEDDING_ENDPOINT}
HUGGINGFACEHUB_API_TOKEN: ${HF_TOKEN}
restart: unless-stopped
depends_on:
tei-embedding-serving:
condition: service_healthy

dataprep-neo4j-llamaindex:
image: ${REGISTRY:-opea}/dataprep:${TAG:-latest}
container_name: dataprep-neo4j-llamaindex
depends_on:
neo4j-apoc:
condition: service_healthy
tgi-gaudi-server:
condition: service_healthy
tei-embedding-serving:
condition: service_healthy
ports:
- "${DATAPREP_PORT:-11103}:5000"
ipc: host
environment:
no_proxy: ${no_proxy}
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
host_ip: ${host_ip}
DATAPREP_COMPONENT_NAME: "OPEA_DATAPREP_NEO4J_LLAMAINDEX"
NEO4J_URL: ${NEO4J_URL}
NEO4J_USERNAME: ${NEO4J_USERNAME}
NEO4J_PASSWORD: ${NEO4J_PASSWORD}
TGI_LLM_ENDPOINT: ${TGI_LLM_ENDPOINT}
TEI_EMBEDDING_ENDPOINT: ${TEI_EMBEDDING_ENDPOINT}
OPENAI_API_KEY: ${OPENAI_API_KEY}
OPENAI_EMBEDDING_MODEL: ${OPENAI_EMBEDDING_MODEL}
OPENAI_LLM_MODEL: ${OPENAI_LLM_MODEL}
EMBEDDING_MODEL_ID: ${EMBEDDING_MODEL_ID}
LLM_MODEL_ID: ${LLM_MODEL_ID}
LOGFLAG: ${LOGFLAG}
HUGGINGFACEHUB_API_TOKEN: ${HF_TOKEN}
restart: unless-stopped

dataprep-opensearch:
image: ${REGISTRY:-opea}/dataprep:${TAG:-latest}
container_name: dataprep-opensearch-server
ports:
- "${DATAPREP_PORT:-11104}:5000"
depends_on:
opensearch-vector-db:
condition: service_healthy
ipc: host
environment:
no_proxy: ${no_proxy}
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
OPENSEARCH_INITIAL_ADMIN_PASSWORD: ${OPENSEARCH_INITIAL_ADMIN_PASSWORD}
DATAPREP_COMPONENT_NAME: "OPEA_DATAPREP_OPENSEARCH"
OPENSEARCH_URL: ${OPENSEARCH_URL}
INDEX_NAME: ${INDEX_NAME}
HUGGINGFACEHUB_API_TOKEN: ${HF_TOKEN}
restart: unless-stopped
security_opt:
- no-new-privileges:true

dataprep-pgvector:
image: ${REGISTRY:-opea}/dataprep:${TAG:-latest}
container_name: dataprep-pgvector-server
ports:
- "${DATAPREP_PORT:-11105}:5000"
depends_on:
pgvector-db:
condition: service_healthy
ipc: host
environment:
no_proxy: ${no_proxy}
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
DATAPREP_COMPONENT_NAME: "OPEA_DATAPREP_PGVECTOR"
PG_CONNECTION_STRING: ${PG_CONNECTION_STRING}
restart: unless-stopped

dataprep-pinecone:
image: ${REGISTRY:-opea}/dataprep:${TAG:-latest}
container_name: dataprep-pinecone-server
ports:
- "${DATAPREP_PORT:-11106}:5000"
ipc: host
environment:
no_proxy: ${no_proxy}
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
DATAPREP_COMPONENT_NAME: "OPEA_DATAPREP_PINECONE"
PINECONE_API_KEY: ${PINECONE_API_KEY}
PINECONE_INDEX_NAME: ${PINECONE_INDEX_NAME}
HUGGINGFACEHUB_API_TOKEN: ${HF_TOKEN}
restart: unless-stopped

dataprep-qdrant:
image: ${REGISTRY:-opea}/dataprep:${TAG:-latest}
container_name: dataprep-qdrant-server
depends_on:
qdrant-vector-db:
condition: service_healthy
tei-embedding-serving:
condition: service_healthy
ports:
- "${DATAPREP_PORT:-11107}:5000"
ipc: host
environment:
no_proxy: ${no_proxy}
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
DATAPREP_COMPONENT_NAME: "OPEA_DATAPREP_QDRANT"
QDRANT_HOST: ${QDRANT_HOST}
QDRANT_PORT: ${QDRANT_PORT}
COLLECTION_NAME: ${COLLECTION_NAME}
TEI_ENDPOINT: ${TEI_EMBEDDING_ENDPOINT}
HUGGINGFACEHUB_API_TOKEN: ${HF_TOKEN}
restart: unless-stopped

dataprep-redis:
image: ${REGISTRY:-opea}/dataprep:${TAG:-latest}
container_name: dataprep-redis-server
depends_on:
redis-vector-db:
condition: service_healthy
tei-embedding-serving:
condition: service_healthy
ports:
- "${DATAPREP_PORT:-11108}:5000"
ipc: host
environment:
no_proxy: ${no_proxy}
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
DATAPREP_COMPONENT_NAME: "OPEA_DATAPREP_REDIS"
REDIS_HOST: ${REDIS_HOST}
REDIS_PORT: ${REDIS_PORT}
REDIS_URL: ${REDIS_URL}
TEI_EMBEDDING_ENDPOINT: ${TEI_EMBEDDING_ENDPOINT}
INDEX_NAME: ${INDEX_NAME}
HUGGINGFACEHUB_API_TOKEN: ${HF_TOKEN}
restart: unless-stopped

dataprep-multimodal-redis:
image: ${REGISTRY:-opea}/dataprep:${TAG:-latest}
container_name: dataprep-multimodal-redis-server
ports:
- "${DATAPREP_PORT:-11109}:5000"
depends_on:
redis-vector-db:
condition: service_healthy
ipc: host
environment:
no_proxy: ${no_proxy}
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
MULTIMODAL_DATAPREP: true
DATAPREP_COMPONENT_NAME: "OPEA_DATAPREP_MULTIMODALREDIS"
REDIS_HOST: ${REDIS_HOST}
REDIS_PORT: ${REDIS_PORT}
REDIS_URL: ${REDIS_URL}
INDEX_NAME: ${INDEX_NAME}
LVM_ENDPOINT: ${LVM_ENDPOINT}
HUGGINGFACEHUB_API_TOKEN: ${HF_TOKEN}
restart: unless-stopped

dataprep-vdms:
image: ${REGISTRY:-opea}/dataprep:${TAG:-latest}
container_name: dataprep-vdms-server
ports:
- "${DATAPREP_PORT:-11110}:5000"
depends_on:
vdms-vector-db:
condition: service_healthy
ipc: host
environment:
no_proxy: ${no_proxy}
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
DATAPREP_COMPONENT_NAME: "OPEA_DATAPREP_VDMS"
VDMS_HOST: ${VDMS_HOST}
VDMS_PORT: ${VDMS_PORT}
COLLECTION_NAME: ${COLLECTION_NAME}
HUGGINGFACEHUB_API_TOKEN: ${HF_TOKEN}
restart: unless-stopped

dataprep-vdms-multimodal:
image: ${REGISTRY:-opea}/dataprep:${TAG:-latest}
container_name: dataprep-vdms-multimodal-server
ports:
- "${DATAPREP_PORT:-11111}:5000"
depends_on:
vdms-vector-db:
condition: service_healthy
ipc: host
environment:
no_proxy: ${no_proxy}
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
MULTIMODAL_DATAPREP: true
DATAPREP_COMPONENT_NAME: "OPEA_DATAPREP_MULTIMODALVDMS"
VDMS_HOST: ${VDMS_HOST}
VDMS_PORT: ${VDMS_PORT}
COLLECTION_NAME: ${INDEX_NAME}
restart: unless-stopped

networks:
default:
driver: bridge
opensearch-net:

This file was deleted.

69 changes: 0 additions & 69 deletions comps/dataprep/deployment/docker_compose/compose_milvus.yaml

This file was deleted.

Loading
Loading