Fix Docling-serve template: use official image, pin version, correct configuration format

Co-authored-by: Siumauricio <47042324+Siumauricio@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-12-20 00:25:51 +00:00
parent 97de2d6378
commit dd8524463c
3 changed files with 20 additions and 25 deletions

View File

@@ -1,21 +1,16 @@
version: "3.8"
services:
docling-serve:
image: quay.io/docling-project/docling-serve:latest
image: ghcr.io/ds4sd/docling-serve:v0.5.1
restart: unless-stopped
ports:
- 5001
environment:
- DOCLING_SERVE_ENABLE_UI=1
- DOCLING_SERVE_HOST=0.0.0.0
- DOCLING_SERVE_PORT=5001
DOCLING_SERVE_ENABLE_UI: ${DOCLING_SERVE_ENABLE_UI}
DOCLING_SERVE_HOST: ${DOCLING_SERVE_HOST}
DOCLING_SERVE_PORT: ${DOCLING_SERVE_PORT}
volumes:
- docling-data:/app/data
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:5001/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
- docling-data:/opt/app-root/src/.cache/docling/models
volumes:
docling-data: {}
docling-data:

View File

@@ -2,14 +2,15 @@
main_domain = "${domain}"
[config]
env = [
"DOCLING_SERVE_ENABLE_UI=1",
"DOCLING_SERVE_HOST=0.0.0.0",
"DOCLING_SERVE_PORT=5001",
]
mounts = []
[[config.domains]]
serviceName = "docling-serve"
port = 5001
host = "${main_domain}"
[config.env]
DOCLING_SERVE_ENABLE_UI = "1"
DOCLING_SERVE_HOST = "0.0.0.0"
DOCLING_SERVE_PORT = "5001"
[[config.mounts]]

View File

@@ -1765,14 +1765,13 @@
{
"id": "docling-serve",
"name": "Docling Serve",
"version": "latest",
"version": "v0.5.1",
"description": "Running Docling as an API service for document processing and conversion with AI-powered capabilities.",
"logo": "docling-serve.png",
"links": {
"github": "https://github.com/docling-project/docling-serve",
"website": "https://docling-project.github.io/docling-serve/",
"docs": "https://docling-project.github.io/docling-serve/",
"dockerhub": "https://quay.io/repository/docling-project/docling-serve"
"github": "https://github.com/DS4SD/docling-serve",
"website": "https://github.com/DS4SD/docling-serve",
"docs": "https://github.com/DS4SD/docling-serve#readme"
},
"tags": [
"document-processing",