Stirling PDF Docker Compose

This is the official simple Stirling PDF docker compose setup. We did not add extra flags. After it is up, you open http://localhost:8080.

Official simple compose file

Copy the snippet, or download docker-compose.yml from this site. It matches the official simple version.

services:
  stirling-pdf:
    image: docker.stirlingpdf.com/stirlingtools/stirling-pdf:latest
    container_name: stirling-pdf
    ports:
      - '8080:8080'
    volumes:
      - ./stirling-data:/configs
    restart: unless-stopped

The official simple compose file pulls docker.stirlingpdf.com/stirlingtools/stirling-pdf:latest.

Start the container

Official docs then say:

docker-compose up -d

On current Docker, this also works:

docker compose up -d

Then open http://localhost:8080.

Login is on by default

Official docs say login is on by default. Default admin username is admin and the password is stirling. Change that immediately.

To run without login, official docs set:

SECURITY_ENABLELOGIN=false

Do not invent other environment flags. If you need extra volumes, OCR extras, or a harder setup, read the official Docker install guide.