# Local development overrides — auto-merged by "docker compose up".
# Do NOT paste this into Portainer. It only adds build context, port mappings,
# and env_file loading on top of docker-compose.yml.

services:
  rag-api:
    build:
      context: ..
      dockerfile: Apis/rag-api/Dockerfile
    ports:
      - "8081:8080"
    env_file:
      - .env

  cv-matcher-api:
    build:
      context: ..
      dockerfile: Apis/cv-matcher-api/Dockerfile
    ports:
      - "8082:8080"
    env_file:
      - .env

  email-api:
    build:
      context: ..
      dockerfile: Apis/email-api/Dockerfile
    ports:
      - "8083:8080"
    env_file:
      - .env

  api:
    build:
      context: ..
      dockerfile: Apis/api/Dockerfile
    ports:
      - "8080:8080"
    env_file:
      - .env

  cv-cleanup-job:
    build:
      context: ..
      dockerfile: Jobs/cv-cleanup-job/Dockerfile
    env_file:
      - .env

  cv-search-job:
    build:
      context: ..
      dockerfile: Jobs/cv-search-job/Dockerfile
    env_file:
      - .env

  web:
    build:
      context: ..
      dockerfile: web/Dockerfile
    ports:
      - "5140:8080"
    env_file:
      - .env
