Stirling-PDF
Stirling-PDF copied to clipboard
Docs: how to run Stirling PDF with Podman Quadlet
It's possible to run Stirling PDF as a Podman Quadlet with Podman 4.4+.
Here is the Quadlet I use to run it locally:
[Container]
Image=docker.io/frooodle/s-pdf:latest
AutoUpdate=registry
PublishPort=8080:8080
Volume=/location/of/trainingData:/usr/share/tesseract-ocr/5/tessdata
Volume=/location/of/logs/logs:/logs
# Hardening
NoNewPrivileges=true
DropCapability=all
AddCapability=CHOWN
AddCapability=SETGID
AddCapability=SETUID
[Service]
Restart=always
# Hardening
DevicePolicy=closed
[Install]
WantedBy=default.target
It works on Fedora 39 with Podman 4.9.4 (I also add :Z flags to the volumes). Can it be added to the docs since you mention Podman?
Sure no harm