services:
  agenteval:
    build:
      context: ../..
      dockerfile: deploy/volcengine-102/Dockerfile
      args:
        BUILD_COMMIT: "${BUILD_COMMIT:-unknown}"
        BUILD_TIME: "${BUILD_TIME:-unknown}"
    image: agenteval:${IMAGE_TAG:-latest}
    container_name: agenteval
    ports:
      - "8002:8000"
    env_file:
      - .env
    volumes:
      - agenteval_data:/app/data
    restart: unless-stopped

  openclaw-eval:
    image: registry.solahqb22.cn/sola/openclaw:latest
    container_name: openclaw-eval
    ports:
      - "28789:18789"
    volumes:
      - openclaw_eval_data:/home/node/.openclaw
    environment:
      - AGENTEVAL_API_URL=http://agenteval:8000
      - GATEWAY_MODE=local
    restart: unless-stopped

volumes:
  agenteval_data:
  openclaw_eval_data:
