diff --git a/blueprints/docling-serve/docker-compose.yml b/blueprints/docling-serve/docker-compose.yml index 28b6b365..01fa588b 100644 --- a/blueprints/docling-serve/docker-compose.yml +++ b/blueprints/docling-serve/docker-compose.yml @@ -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: + diff --git a/blueprints/docling-serve/template.toml b/blueprints/docling-serve/template.toml index 99fe492f..6b355427 100644 --- a/blueprints/docling-serve/template.toml +++ b/blueprints/docling-serve/template.toml @@ -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]] diff --git a/meta.json b/meta.json index 358c0902..c5e8ca6a 100644 --- a/meta.json +++ b/meta.json @@ -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",