services:
  lambda:
    build:
      context: ../../
      dockerfile: ./test/integration/Dockerfile.test
    ports:
      - '9000:8080'
    environment:
      - SENTRY_DSN=${SENTRY_DSN:-}
      - AWS_LAMBDA_FUNCTION_TIMEOUT=30
    # Enable host.docker.internal on Linux for CI compatibility
    extra_hosts:
      - 'host.docker.internal:host-gateway'
