Files
compose-anything/builds/mineru-vllm/README.md
2025-11-08 21:57:17 +08:00

1.1 KiB

MinerU v2

English | 中文

This service runs MinerU v2. See the Reference Documentation.

Start Services

  • VLM backend server:

    docker compose --profile vllm-server up -d
    
  • Document parse API:

    docker compose --profile api up -d
    
  • Gradio WebUI:

    docker compose --profile gradio up -d
    

Test vLLM backend

pip install mineru
mineru -p demo.pdf -o ./output -b vlm-http-client -u http://localhost:30000

Services

  • mineru-vllm-server: The VLM backend server.
  • mineru-api: The document parsing API.
  • mineru-gradio: The Gradio WebUI.

Configuration

  • MINERU_DOCKER_IMAGE: The Docker image for MinerU, default is alexsuntop/mineru:2.5.4.
  • MINERU_PORT_OVERRIDE_VLLM: The host port for the VLLM server, default is 30000.
  • MINERU_PORT_OVERRIDE_API: The host port for the API service, default is 8000.
  • MINERU_PORT_OVERRIDE_GRADIO: The host port for the Gradio WebUI, default is 7860.