Community Apps

Docling Serve

By OrcVole

Convert documents to clean Markdown and JSON (Docling)

1.25.0 4096MB Updated 26 Jun 2026
ai documents ocr rag markdown
Install this app
In your Cloudron dashboard, open the App Store, choose "Community apps" and paste this URL:
https://raw.githubusercontent.com/OrcVole/docling-cloudron/main/CloudronVersions.json

Description

Docling Serve converts documents into clean, structured Markdown and JSON through an HTTP API. It is the API server for Docling, the open document-conversion toolkit, packaged here for Cloudron.

Point it at a PDF, DOCX, PPTX, XLSX, HTML, Markdown, or an image and it returns well-structured text with the reading order preserved. It recovers page layout, reconstructs tables, reads embedded and scanned text with OCR, and classifies pictures, so the output is faithful enough to feed a retrieval-augmented-generation pipeline or any downstream text process.

What you get on Cloudron:

  • A document-conversion API on one HTTP port, protected by an API key that is generated for you on first install. Send it as the X-Api-Key header to the /v1/convert/* endpoints.
  • A demonstrator web UI at /ui, placed behind Cloudron single sign-on, for converting a document in the browser without writing any code.
  • Interactive OpenAPI documentation at /docs.
  • The full default pipeline (layout analysis, TableFormer table structure, the EasyOCR and RapidOCR engines, picture classification) with its models baked into the image, so the app works the moment it finishes installing, with no first-boot download and no external model server.

It runs CPU-only, stores all state under its data volume so Cloudron backs it up, and ships with sensible, secure defaults. It pairs naturally with an embeddings server and a vector database to build a self-hosted "ask questions about my own documents" stack.

Docling is open source under the MIT license. This package tracks the upstream docling-serve release and adapts only the runtime environment to Cloudron; it does not modify Docling itself.

Screenshot

Recent Changes

  • Changelog

  • All notable changes to this Cloudron package are documented here. The package version is this

  • repository's own semver and moves independently of the upstream docling-serve version, which is

  • recorded in upstreamVersion in the manifest.

  • [1.0.1] - 2026-06-26

  • First published release. Hardening and a smaller image; no behaviour or topology change.

  • Two-stage build. The image is built in a throwaway builder stage, and only the installed venv and

  • the baked models are copied into a fresh cloudron/base runtime stage. This drops uv's multi-

  • gigabyte download cache and the build-only packages, taking the image from about 8.7 GB to about

  • 6.0 GB. No packaging decision changes (see ADR 0001).

  • The API key file is re-asserted to mode 0600 on every boot, not only at creation. A Cloudron

  • restore returns the key file as 0644; the 0700 parent directory still blocks traversal, but the

  • file is now tightened on each start as defense in depth.

  • Hugging Face telemetry is disabled (HF_HUB_DISABLE_TELEMETRY=1, DO_NOT_TRACK=1) so the app does

  • not phone home on boot. The default pipeline models are baked in, so this removes the only routine

  • outbound call without blocking a deliberate model pull.

  • Verified on the box: backup and restore survival (the key, the /app/data caches, and ownership

  • survive, and the auth topology is intact afterwards).

  • [1.0.0] - 2026-06-26

  • Initial package. Packages docling-serve 1.25.0 for Cloudron. Built and deployed to the target box;

  • not published.

  • Multi-stage-free build straight onto cloudron/base (Ubuntu 24.04, Python 3.12): the pinned

  • docling-serve release is installed with uv, CPU-only torch from the PyTorch CPU index.

  • The default pipeline models (layout, TableFormer, picture classifier, RapidOCR, EasyOCR) are baked

  • into the image, so the app is ready on first boot with no model download.

  • API key generated on first run and stored under /app/data/.secrets; sent as the X-Api-Key

  • header to the /v1/convert/* endpoints.

  • The demonstrator UI (/ui) is enabled and scoped behind Cloudron single sign-on via proxyAuth;

  • the convert API stays open at the network level and is protected by the key.

  • All mutable state (HF cache, conversion scratch, the key) is kept under /app/data for backup.

  • Runs as the cloudron user on the non-privileged port 5001.