services:
  agent-proxy:
    volumes:
      - ./docker/nginx/smoke-agents-timeout.conf:/etc/nginx/nginx.conf:ro
    depends_on:
      agent-no-status:
        condition: service_started

  agent-no-status:
    build:
      context: .
      dockerfile: Dockerfile
      target: production
      args:
        LAMBDA_AGENT_API_REF: ${LAMBDA_AGENT_API_REF:-master}
    environment:
      PYTHONUNBUFFERED: "1"
    command: ["python", "-m", "tools.no_status_agent", "--host", "0.0.0.0", "--port", "8000"]
