services:
  worktracker:
    build:
      context: .
      dockerfile: Dockerfile
  playwright:
    build:
      context: .
      dockerfile: Dockerfile.playwright
    depends_on:
      worktracker:
        condition: service_healthy
    environment:
      PLAYWRIGHT_BASE_URL: http://worktracker:8080