linux  projekt  self-hosted

stirling PDF

Stirling PDF is a powerful, open-source PDF editing platform. Run it as a personal desktop app, in the browser, or deploy it on your own servers with a private API. Edit, sign, redact, convert, and automate PDFs without sending documents to external services.
Doku

Install

sudo mkdir -p /opt/stirling-pdf
cd /opt/stirling-pdf
sudo nano docker-compose.yaml
services:
  stirling-pdf:
    image: stirlingtools/stirling-pdf:latest
    container_name: stirling-pdf
    restart: always
    ports:
        - "8445:8080"
    environment:
        - SECURITY_ENABLELOGIN=true
        - SYSTEM_DEFAULTLOCALE=de-DE
    volumes:
      - ./stirling-data/tessdata:/usr/share/tessdata   # OCR language files
      - ./stirling-data/configs:/configs               # Settings & database
      - ./stirling-data/logs:/logs                     # Application logs
      - ./stirling-data/pipeline:/pipeline             # Automation configs
      - ./stirling-data/customFiles:/customFiles       #
docker compose -f /opt/stirling-pdf/docker-compose.yaml up -d
docker compose -f /opt/stirling-pdf/docker-compose.yaml down
Username: admin
Password: stirling

ReverseProxy

pdf.r4g9.l11
        ProxyPreserveHost On
        ProxyAddHeaders On
        RequestHeader set X-Forwarded-Port "443"
        RequestHeader set X-Forwarded-Proto "https"
        ProxyPass / http://127.0.0.1:8445/
        ProxyPassReverse / http://127.0.0.1:8445/

Sicherung

Update

Ich nutze mein check-docker-updates.sh, muss ich noch veröffentlichen!

# Pull-Richtlinie auf always...
pull_policy: always

#... und ein cronjob für täglichen Restart...
0      6      *       *       *       cd /opt/stirling-pdf && docker compose down && docker compose up -d
 linux   projekt   self-hosted