e904b667c6
Build/Publish Develop Docs / deploy (push) Failing after 1s
PaddleOCR Code Style Check / check-code-style (push) Failing after 1s
PaddleOCR PR Tests GPU / detect-changes (push) Failing after 1s
PaddleOCR PR Tests / detect-changes (push) Failing after 1s
PaddleOCR PR Tests GPU / test-pr-gpu (push) Has been cancelled
PaddleOCR PR Tests / test-pr (push) Has been cancelled
PaddleOCR PR Tests GPU / test-pr-gpu-impl (push) Has been cancelled
PaddleOCR PR Tests / test-pr-python (3.13) (push) Has been cancelled
PaddleOCR PR Tests / test-pr-python (3.8) (push) Has been cancelled
PaddleOCR PR Tests / test-pr-python (3.9) (push) Has been cancelled
34 lines
1.1 KiB
YAML
34 lines
1.1 KiB
YAML
services:
|
|
paddleocr-vl-api:
|
|
image: ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddleocr-vl:${API_IMAGE_TAG_SUFFIX}
|
|
container_name: paddleocr-vl-api
|
|
ports:
|
|
- 8080:8080
|
|
depends_on:
|
|
paddleocr-vlm-server:
|
|
condition: service_healthy
|
|
devices:
|
|
- /dev:/dev
|
|
shm_size: 64g
|
|
# TODO: Allow using a regular user
|
|
user: root
|
|
restart: unless-stopped
|
|
environment:
|
|
- VLM_BACKEND=${VLM_BACKEND:-vllm}
|
|
command: /bin/bash -c "paddlex --serve --pipeline /home/paddleocr/pipeline_config_${VLM_BACKEND}.yaml"
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "curl -f http://localhost:8080/health || exit 1"]
|
|
|
|
paddleocr-vlm-server:
|
|
image: ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddleocr-genai-${VLM_BACKEND}-server:${VLM_IMAGE_TAG_SUFFIX}
|
|
container_name: paddleocr-vlm-server
|
|
devices:
|
|
- /dev:/dev
|
|
shm_size: 64g
|
|
# TODO: Allow using a regular user
|
|
user: root
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "curl -f http://localhost:8080/health || exit 1"]
|
|
start_period: 300s
|