Install Stirling PDF on Ubuntu 24.04
Install Docker
make directory and create docker-compose.yml
version: '3.3'
services:
stirling-pdf:
image: docker.stirlingpdf.com/stirlingtools/stirling-pdf:latest
ports:
- '8080:8080'
volumes:
- ./StirlingPDF/trainingData:/usr/share/tessdata # Required for extra OCR languages
- ./StirlingPDF/extraConfigs:/configs
- ./StirlingPDF/customFiles:/customFiles/
- ./StirlingPDF/logs:/logs/
- ./StirlingPDF/pipeline:/pipeline/
environment:
- DOCKER_ENABLE_SECURITY=false
- LANGS=en_GB
$sudo docker compose up -d
Setup login
$cd StirlingPDF/extraConfigs
$sudo nano settings.yml
Change
enableLogin: true
InitialLogin:
username: [username]
password: [password]
$sudo docker compose down
$sudo nano docker-comose.yml
Change DOCKER_ENABLE_SECURITY=true
$sudo docker compose up -d