# Copyright (C) 2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0

# this file should be run in the root of the repo
services:
  retriever:
    build:
      dockerfile: comps/retrievers/src/Dockerfile
    image: ${REGISTRY:-opea}/retriever:${TAG:-latest}
  retriever-redis:
    build:
      dockerfile: comps/retrievers/redis/langchain/Dockerfile
    image: ${REGISTRY:-opea}/retriever-redis:${TAG:-latest}
  retriever-qdrant:
    build:
      dockerfile: comps/retrievers/qdrant/haystack/Dockerfile
    image: ${REGISTRY:-opea}/retriever-qdrant:${TAG:-latest}
  retriever-vdms:
    build:
      dockerfile: comps/retrievers/vdms/langchain/Dockerfile
    image: ${REGISTRY:-opea}/retriever-vdms:${TAG:-latest}
  retriever-pgvector:
    build:
      dockerfile: comps/retrievers/pgvector/langchain/Dockerfile
    image: ${REGISTRY:-opea}/retriever-pgvector:${TAG:-latest}
  retriever-pinecone:
    build:
      dockerfile: comps/retrievers/pinecone/langchain/Dockerfile
    image: ${REGISTRY:-opea}/retriever-pinecone:${TAG:-latest}
  retriever-milvus:
    build:
      dockerfile: comps/retrievers/milvus/langchain/Dockerfile
    image: ${REGISTRY:-opea}/retriever-milvus:${TAG:-latest}
  retriever-redis-llamaindex:
    build:
      dockerfile: comps/retrievers/redis/llama_index/Dockerfile
    image: ${REGISTRY:-opea}/retriever-redis-llamaindex:${TAG:-latest}
  retriever-pathway:
    build:
      dockerfile: comps/retrievers/pathway/langchain/Dockerfile
    image: ${REGISTRY:-opea}/retriever-pathway:${TAG:-latest}
  retriever-neo4j:
    build:
      dockerfile: comps/retrievers/neo4j/langchain/Dockerfile
    image: ${REGISTRY:-opea}/retriever-neo4j:${TAG:-latest}
  retriever-neo4j-llamaindex:
    build:
      dockerfile: comps/retrievers/neo4j/llama_index/Dockerfile
    image: ${REGISTRY:-opea}/retriever-neo4j-llamaindex:${TAG:-latest}
  retriever-elasticsearch:
    build:
      dockerfile: comps/retrievers/elasticsearch/langchain/Dockerfile
    image: ${REGISTRY:-opea}/retriever-elasticsearch:${TAG:-latest}
  retriever-opensearch:
    build:
      dockerfile: comps/retrievers/opensearch/langchain/Dockerfile
    image: ${REGISTRY:-opea}/retriever-opensearch:${TAG:-latest}
