https://github.com/Stirling-Tools/Stirling-PDF
https://github.com/tesseract-ocr/tessdata

docker run -itd \
  --restart=always \
  -p 8080:8080 \
  -v /mnt/appdata/stirline-pdf/Stirling-PDF.jar:/app.jar \
  -v /mnt/appdata/stirline-pdf/extraConfigs:/configs \
  -v /mnt/appdata/stirline-pdf/trainingData:/usr/share/tessdata \
  -v /mnt/appdata/stirline-pdf/logs:/logs \
  -v /mnt/appdata/stirline-pdf/customFiles:/customFiles \
  -e DOCKER_ENABLE_SECURITY=false \
  -e INSTALL_BOOK_AND_ADVANCED_HTML_OPS=false \
  -e LANGS=zh_CN \
  --name stirling-pdf \
  frooodle/s-pdf:latest

编辑settings.yml

# Welcome to settings file
# Remove comment marker # if on start of line to enable the configuration
# If you want to override with environment parameter follow parameter naming SECURITY_INITIALLOGIN_USERNAME

security:
  enableLogin: false # set to 'true' to enable login
  csrfDisabled: true
  loginAttemptCount: 5 # lock user account after 5 tries
  loginResetTimeMinutes : 120 # lock account for 2 hours after x attempts

system:
  defaultLocale: 'zh-CN' # Set the default language (e.g. 'de-DE', 'fr-FR', etc)
  googlevisibility: false # 'true' to allow Google visibility (via robots.txt), 'false' to disallow
  enableAlphaFunctionality: false # Set to enable functionality which might need more testing before it fully goes live (This feature might make no changes)
  showUpdate: true # see when a new update is available
  showUpdateOnlyAdmin: false # Only admins can see when a new update is available, depending on showUpdate it must be set to 'true'
  customHTMLFiles: false # Enable to have files placed in /customFiles/templates override the existing template html files
  #customStaticFilePath: '/customFiles/static/' # Directory path for custom static files

ui:
  appName: PDF转换 # Application's visible name
  homeDescription: ---------------#Your locally hosted one-stop-shop for all your PDF needs. # Short description or tagline shown on homepage.
  appNameNavbar: PDF工具 # Name displayed on the navigation bar

endpoints:
  toRemove: [] # List endpoints to disable (e.g. ['img-to-pdf', 'remove-pages'])
  groupsToRemove: [] # List groups to disable (e.g. ['LibreOffice'])

metrics:
  enabled: true # 'true' to enable Info APIs (`/api/*`) endpoints, 'false' to disable