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

services:
  visualqna:
    build:
      args:
        http_proxy: ${http_proxy}
        https_proxy: ${https_proxy}
        no_proxy: ${no_proxy}
      context: ../
      dockerfile: ./Dockerfile
    image: ${REGISTRY:-opea}/visualqna:${TAG:-latest}
  visualqna-ui:
    build:
      context: ../ui
      dockerfile: ./docker/Dockerfile
    extends: visualqna
    image: ${REGISTRY:-opea}/visualqna-ui:${TAG:-latest}
  lvm-tgi:
    build:
      context: GenAIComps
      dockerfile: comps/lvms/tgi-llava/Dockerfile
    extends: visualqna
    image: ${REGISTRY:-opea}/lvm-tgi:${TAG:-latest}
  nginx:
    build:
      context: GenAIComps
      dockerfile: comps/3rd_parties/nginx/src/Dockerfile
    extends: visualqna
    image: ${REGISTRY:-opea}/nginx:${TAG:-latest}
