Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Stirling-PDF Docker Setup: Login, OCR Languages and Updates

说明与用途

在 Docker 中部署 Stirling-PDF,使用安全的管理员登录、额外的 OCR 语言和更大的上传限制。

问题

Deploying Stirling-PDF in Docker with secure default login, additional OCR languages, and proper upload limits.

结果

Stirling-PDF runs securely with a custom admin account, supports additional OCR languages, and accepts large uploads behind nginx.

工作流

  • Create data directories and .env with random admin password
  • Write compose.yaml with pinned image, 127.0.0.1 binding, env vars, volume mounts, and mem_limit 4g
  • Run docker compose pull and docker compose up -d
  • Verify service via /api/v1/info/status
  • Adjust nginx client_max_body_size to 2000M
  • Add .traineddata files to tessdata folder for additional OCR languages
  • Restart container to load new languages

证据

Use the official compose file with a pinned tag such as docker.stirlingpdf.com/stirlingtools/stirling-pdf:3.2.0, publish the port on 127.0.0.1:8080, and keep mem_limit: 4g.

来源

A fresh install creates admin with the password stirling and prints both on the login page.

来源

The standard image can OCR English, German, French, Portuguese and Simplified Chinese. For any other language, put its .traineddata file in the folder mounted at /usr/share/tessdata and restart.

来源

  • 记录日期: 2026-10-18T07:55:59.109Z