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

services:
  text2sql:
    build:
      context: GenAIComps
      dockerfile: comps/text2sql/src/Dockerfile
      args:
        http_proxy: ${http_proxy}
        https_proxy: ${https_proxy}
        no_proxy: ${no_proxy}
    image: ${REGISTRY:-opea}/text2sql:${TAG:-latest}
  text2sql-react-ui:
    build:
      context: ../ui
      dockerfile: ./docker/Dockerfile.react
      args:
        http_proxy: ${http_proxy}
        https_proxy: ${https_proxy}
        no_proxy: ${no_proxy}
    image: ${REGISTRY:-opea}/text2sql-react-ui:${TAG:-latest}
