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.