- Bump MinerU version from 2.7.1 to 2.7.2 in .env.example, Dockerfile, README files, and docker-compose.yaml. - Update Gitea version from 1.25.2-rootless to 1.25.4-rootless in .env.example and docker-compose.yaml. - Add InfluxDB configuration files including .env.example, README.md, README.zh.md, and docker-compose.yaml with version 2.8.0. - Bump Phoenix version from 12.28.1-nonroot to 12.31.2-nonroot in .env.example and docker-compose.yaml, and update README files. - Introduce Selenium standalone configuration with version 144.0-20260120, including .env.example, README.md, README.zh.md, and docker-compose.yaml.
46 lines
1.0 KiB
Markdown
46 lines
1.0 KiB
Markdown
# MinerU v2
|
|
|
|
[English](./README.md) | [中文](./README.zh.md)
|
|
|
|
This service runs MinerU v2. See the [Reference Documentation](https://opendatalab.github.io/MinerU/zh/usage/quick_usage/).
|
|
|
|
## Start Services
|
|
|
|
- **VLM backend server**:
|
|
|
|
```bash
|
|
docker compose --profile vllm-server up -d
|
|
```
|
|
|
|
- **Document parse API**:
|
|
|
|
```bash
|
|
docker compose --profile api up -d
|
|
```
|
|
|
|
- **Gradio WebUI**:
|
|
|
|
```bash
|
|
docker compose --profile gradio up -d
|
|
```
|
|
|
|
## Test vLLM backend
|
|
|
|
```bash
|
|
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.7.2`.
|
|
- `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`.
|