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

services:
  audioqna:
    build:
      args:
        http_proxy: ${http_proxy}
        https_proxy: ${https_proxy}
        no_proxy: ${no_proxy}
      context: ../
      dockerfile: ./Dockerfile
    image: ${REGISTRY:-opea}/audioqna:${TAG:-latest}
  audioqna-ui:
    build:
      context: ../ui
      dockerfile: ./docker/Dockerfile
    extends: audioqna
    image: ${REGISTRY:-opea}/audioqna-ui:${TAG:-latest}
  audioqna-multilang:
    build:
      context: ../
      dockerfile: ./Dockerfile.multilang
    extends: audioqna
    image: ${REGISTRY:-opea}/audioqna-multilang:${TAG:-latest}
  whisper-gaudi:
    build:
      context: GenAIComps
      dockerfile: comps/asr/src/integrations/dependency/whisper/Dockerfile.intel_hpu
    extends: audioqna
    image: ${REGISTRY:-opea}/whisper-gaudi:${TAG:-latest}
  whisper:
    build:
      context: GenAIComps
      dockerfile: comps/asr/src/integrations/dependency/whisper/Dockerfile
    extends: audioqna
    image: ${REGISTRY:-opea}/whisper:${TAG:-latest}
  asr:
    build:
      context: GenAIComps
      dockerfile: comps/asr/src/Dockerfile
    extends: audioqna
    image: ${REGISTRY:-opea}/asr:${TAG:-latest}
  llm-textgen:
    build:
      context: GenAIComps
      dockerfile: comps/llms/src/text-generation/Dockerfile
    extends: audioqna
    image: ${REGISTRY:-opea}/llm-textgen:${TAG:-latest}
  speecht5-gaudi:
    build:
      context: GenAIComps
      dockerfile: comps/tts/src/integrations/dependency/speecht5/Dockerfile.intel_hpu
    extends: audioqna
    image: ${REGISTRY:-opea}/speecht5-gaudi:${TAG:-latest}
  speecht5:
    build:
      context: GenAIComps
      dockerfile: comps/tts/src/integrations/dependency/speecht5/Dockerfile
    extends: audioqna
    image: ${REGISTRY:-opea}/speecht5:${TAG:-latest}
  tts:
    build:
      context: GenAIComps
      dockerfile: comps/tts/src/Dockerfile
    extends: audioqna
    image: ${REGISTRY:-opea}/tts:${TAG:-latest}
  gpt-sovits:
    build:
      context: GenAIComps
      dockerfile: comps/tts/src/integrations/dependency/gpt-sovits/Dockerfile
    extends: audioqna
    image: ${REGISTRY:-opea}/gpt-sovits:${TAG:-latest}
