services:
  unit-lint:
    build:
      context: .
      target: unit-lint
    volumes:
      - .:/var/app

  test-integration:
    build:
      context: .
      target: test-integration
    volumes:
      - .:/var/app

  manualadjustment-dev:
    build:
      context: .
      target: dev
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:5000/hello/"]
      interval: 1m30s
      timeout: 10s
      retries: 3
      start_period: 40s
    volumes:
      - .:/var/app

  manualadjustment-deploy:
    build:
      context: .
      target: deploy
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:8080/hello/"]
      interval: 1m30s
      timeout: 10s
      retries: 3
      start_period: 40s
