Skip to content

ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.

1.5 KB
Raw Blame
id: stirling-pdf
name: Stirling PDF
version: "1.0"
description: Local web toolkit for splitting, merging, converting and OCR-ing PDF files.
icon: https://serverkit.ai/imgs/template-icons/stirling-pdf.svg
website: https://www.stirlingpdf.com
documentation: https://docs.stirlingpdf.com
categories:
  - documents
  - productivity
  - pdf

variables:
  - name: HTTP_PORT
    description: Port for the Stirling PDF web UI (auto-assigned)
    type: port
    default: "8080"
    hidden: true

ports:
  - port: "${HTTP_PORT}"
    protocol: http
    description: Stirling PDF Web UI

requirements:
  memory: 1GB
  storage: 2GB

compose:
  services:
    stirling-pdf:
      image: ghcr.io/stirling-tools/s-pdf:latest
      container_name: ${APP_NAME}
      restart: unless-stopped
      ports:
        - "${HTTP_PORT}:8080"
      environment:
        DOCKER_ENABLE_SECURITY: "false"
        LANGS: "en_GB"
      volumes:
        - stirling-pdf-data:/usr/share/tessdata
        - stirling-pdf-configs:/configs
      healthcheck:
        test: ["CMD-SHELL", "curl -fsS --max-time 5 http://127.0.0.1:8080/api/v1/info/status || exit 1"]
        interval: 30s
        timeout: 10s
        retries: 5
        start_period: 30s

  volumes:
    stirling-pdf-data:
    stirling-pdf-configs:

post_install: |
  Stirling PDF is installed and running!

  - Web UI: http://your-server:${HTTP_PORT}

  Open the web UI and start splitting, merging, converting, compressing or
  OCR-ing PDFs. Everything runs locally on your server; no files leave the host.