-
Notifications
You must be signed in to change notification settings - Fork 261
Add Docling-serve template #612
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: canary
Are you sure you want to change the base?
Conversation
…configuration format Co-authored-by: Siumauricio <47042324+Siumauricio@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds a new template for Docling-serve, an MIT-licensed document processing and conversion API service from IBM DS4SD. The template has been corrected from an initial draft to comply with Dokploy standards and project conventions.
Key changes:
- Switched from unofficial
quay.io/docling-projectto officialghcr.io/ds4sd/docling-serve:v0.5.1image - Fixed Docker Compose format by adding version declaration, removing ports exposure, and correcting environment variable interpolation
- Converted template.toml from table syntax to required array syntax for env and mounts sections
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| meta.json | Updated metadata entry with correct version (v0.5.1), corrected GitHub organization links from docling-project to DS4SD, removed dockerhub reference |
| blueprints/docling-serve/template.toml | Converted environment variables and mounts from table to array format, aligned with project standards |
| blueprints/docling-serve/docker-compose.yml | Added version declaration, switched to official ghcr.io image with pinned version, removed ports section, fixed env var interpolation, corrected volume mount path, removed healthcheck |
| "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" |
Copilot
AI
Dec 20, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The docs URL points to the README anchor, but a more specific documentation URL would be beneficial if available. Consider using 'https://ds4sd.github.io/docling/' which is the official documentation site for the Docling project.
| "docs": "https://github.com/DS4SD/docling-serve#readme" | |
| "docs": "https://ds4sd.github.io/docling/" |
| mounts = [] | ||
|
|
Copilot
AI
Dec 20, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The mounts array is empty, but the docker-compose.yml file defines a volume mount at /opt/app-root/src/.cache/docling/models. This volume should be declared in the mounts array to ensure proper persistence configuration. Add a mount entry with type 'volume' for the docling-data volume.
| mounts = [] | |
| [[config.mounts]] | |
| type = "volume" | |
| name = "docling-data" | |
| mountPath = "/opt/app-root/src/.cache/docling/models" |
|
|
||
| volumes: | ||
| docling-data: {} | ||
| docling-data: |
Copilot
AI
Dec 20, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Volume declaration is missing explicit driver or labels. According to project conventions, volumes should be declared with empty braces {} if no specific configuration is needed, for clarity and consistency with other templates.
| docling-data: | |
| docling-data: {} |
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
What is this PR about?
Adds Docling-serve template - an MIT-licensed document processing and conversion API service from IBM DS4SD.
Key fixes applied to existing draft:
quay.io/docling-projectto officialghcr.io/ds4sd/docling-serve:v0.5.1latesttag withv0.5.1per repository requirementsversion: "3.8", removed explicit ports, fixed env var interpolation, corrected volume path to/opt/app-root/src/.cache/docling/modelsenvandmountsfrom table to array syntaxChecklist
Before submitting this PR, please make sure that:
Screenshots or Videos
Template exposes document processing API on port 5001 with UI enabled. Persists ML models in volume for performance.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
cdn01.quay.io/usr/bin/docker docker manifest inspect quay.io/docling-project/docling-serve:latest(dns block)https://api.github.com/search/repositories/usr/bin/curl curl -s REDACTED(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.