← Todos os guias
Stirling PDF
A self-hosted, all-in-one PDF toolkit — merge, split, compress, convert, OCR, watermark, and edit PDFs from a browser, with no files ever leaving your own server.
Este guia foi elaborado a partir da documentação oficial do Stirling PDF, ligada acima — verifique sempre lá os nomes exatos dos pacotes/versões antes de executar estes comandos num servidor de produção, uma vez que as versões da distribuição e do projeto mudam com o tempo.
1Pull and run the official image
Stirling PDF ships one container with the whole toolkit and web UI built in.
docker run -d \ --name stirling-pdf \ -p 8080:8080 \ -v ./stirling/data:/usr/share/tessdata \ -v ./stirling/config:/configs \ -e DOCKER_ENABLE_SECURITY=false \ --restart unless-stopped \ stirlingtools/stirling-pdf:latest2Open the web UI
Visit the server on port 8080 to access every tool -- merge, split, compress, convert to/from Word, add/remove passwords, OCR scanned pages, and more.
http://your-server-ip:80803(Optional) enable login security
DOCKER_ENABLE_SECURITY=true turns on Stirling PDF's built-in user accounts and login page, useful once it's reachable outside your own LAN.
Without security enabled, anyone who can reach the port can use every tool -- fine on a trusted home network, not fine exposed directly to the internet.