# FILE: infra/compose/compose.build.yaml
# Docker Compose file for building images
# Usage: docker compose -f infra/compose/compose.build.yaml build

services:
  apa-svc-ingestion:
    build:
      context: ../../
      dockerfile: apps/svc_ingestion/Dockerfile
    image: gitea.harkon.co.uk/harkon/svc-ingestion:latest

  apa-svc-extract:
    build:
      context: ../../
      dockerfile: apps/svc_extract/Dockerfile
    image: gitea.harkon.co.uk/harkon/svc-extract:latest

  apa-svc-kg:
    build:
      context: ../../
      dockerfile: apps/svc_kg/Dockerfile
    image: gitea.harkon.co.uk/harkon/svc-kg:latest

  apa-svc-rag-retriever:
    build:
      context: ../../
      dockerfile: apps/svc_rag_retriever/Dockerfile
    image: gitea.harkon.co.uk/harkon/svc-rag-retriever:latest

  apa-svc-forms:
    build:
      context: ../../
      dockerfile: apps/svc_forms/Dockerfile
    image: gitea.harkon.co.uk/harkon/svc-forms:latest

  apa-svc-hmrc:
    build:
      context: ../../
      dockerfile: apps/svc_hmrc/Dockerfile
    image: gitea.harkon.co.uk/harkon/svc-hmrc:latest

  apa-svc-ocr:
    build:
      context: ../../
      dockerfile: apps/svc_ocr/Dockerfile
    image: gitea.harkon.co.uk/harkon/svc-ocr:latest

  apa-svc-rag-indexer:
    build:
      context: ../../
      dockerfile: apps/svc_rag_indexer/Dockerfile
    image: gitea.harkon.co.uk/harkon/svc-rag-indexer:latest

  apa-svc-reason:
    build:
      context: ../../
      dockerfile: apps/svc_reason/Dockerfile
    image: gitea.harkon.co.uk/harkon/svc-reason:latest

  apa-svc-rpa:
    build:
      context: ../../
      dockerfile: apps/svc_rpa/Dockerfile
    image: gitea.harkon.co.uk/harkon/svc-rpa:latest

  apa-svc-normalize-map:
    build:
      context: ../../
      dockerfile: apps/svc_normalize_map/Dockerfile
    image: gitea.harkon.co.uk/harkon/svc-normalize-map:latest

  apa-svc-coverage:
    build:
      context: ../../
      dockerfile: apps/svc_coverage/Dockerfile
    image: gitea.harkon.co.uk/harkon/svc-coverage:latest

  apa-svc-firm-connectors:
    build:
      context: ../../
      dockerfile: apps/svc_firm_connectors/Dockerfile
    image: gitea.harkon.co.uk/harkon/svc-firm-connectors:latest

  apa-ui-review:
    build:
      context: ../../ui_review
      dockerfile: Dockerfile
    image: gitea.harkon.co.uk/harkon/ui-review:latest
