Files
compose-anything/builds/mineru/README.md
2025-12-14 15:18:26 +08:00

1.0 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_VERSION: The version for MinerU, default is 2.6.6.
  • 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.