mirror of
https://github.com/Dokploy/templates.git
synced 2026-06-15 20:25:24 +02:00
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:
@@ -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:
|
||||
|
||||
|
||||
@@ -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]]
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user