1.0 KiB
1.0 KiB
MinerU v2
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 is2.6.6.MINERU_PORT_OVERRIDE_VLLM: The host port for the VLLM server, default is30000.MINERU_PORT_OVERRIDE_API: The host port for the API service, default is8000.MINERU_PORT_OVERRIDE_GRADIO: The host port for the Gradio WebUI, default is7860.