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

services:
  graphrag:
    build:
      args:
        http_proxy: ${http_proxy}
        https_proxy: ${https_proxy}
        no_proxy: ${no_proxy}
      context: ../
      dockerfile: ./Dockerfile
    image: ${REGISTRY:-opea}/graphrag:${TAG:-latest}
  retriever-neo4j-llamaindex:
    build:
      args:
        http_proxy: ${http_proxy}
        https_proxy: ${https_proxy}
        no_proxy: ${no_proxy}
      context: GenAIComps
      dockerfile: comps/retrievers/neo4j/llama_index/Dockerfile
    image: ${REGISTRY:-opea}/retriever-neo4j-llamaindex:${TAG:-latest}
  dataprep-neo4j-llamaindex:
    build:
      args:
        http_proxy: ${http_proxy}
        https_proxy: ${https_proxy}
        no_proxy: ${no_proxy}
      context: GenAIComps
      dockerfile: comps/dataprep/neo4j/llama_index/Dockerfile
    image: ${REGISTRY:-opea}/dataprep-neo4j-llamaindex:${TAG:-latest}
  nginx:
    build:
      args:
        http_proxy: ${http_proxy}
        https_proxy: ${https_proxy}
        no_proxy: ${no_proxy}
      context: GenAIComps
      dockerfile: comps/3rd_parties/nginx/src/Dockerfile
    image: ${REGISTRY:-opea}/nginx:${TAG:-latest}
  graphrag-ui:
    build:
      args:
        http_proxy: ${http_proxy}
        https_proxy: ${https_proxy}
        no_proxy: ${no_proxy}
      context: ../ui
      dockerfile: ./docker/Dockerfile
    image: ${REGISTRY:-opea}/graphrag-ui:${TAG:-latest}
  graphrag-react-ui:
    build:
      args:
        http_proxy: ${http_proxy}
        https_proxy: ${https_proxy}
        no_proxy: ${no_proxy}
      context: ../ui
      dockerfile: ./docker/Dockerfile.react
    image: ${REGISTRY:-opea}/graphrag-react-ui:${TAG:-latest}
