docker run -d
-p 8080:8080
-v /mnt/disk1/docker_data/stirling-pdf_data/trainingData:/usr/share/tessdata
-v /mnt/disk1/docker_data/stirling-pdf_data/extraConfigs:/configs
-v /mnt/disk1/docker_data/stirling-pdf_data/logs:/logs
-v /mnt/disk1/docker_data/stirling-pdf_data/location/of/customFiles:/customFiles
-e DOCKER_ENABLE_SECURITY=false
-e INSTALL_BOOK_AND_ADVANCED_HTML_OPS=false
-e LANGS=en_GB
--name stirling-pdf
stirlingtools/stirling-pdf:latestversion: "3.8"
services:
stirling-pdf:
image: stirlingtools/stirling-pdf:latest
container_name: stirling-pdf
ports:
- "18082:8080"
volumes:
- /vol1/1000/Docker_Data/stirling-pdf/trainingData:/usr/share/tessdata
- /vol1/1000/Docker_Data/stirling-pdf/extraConfigs:/configs
- /vol1/1000/Docker_Data/stirling-pdf/logs:/logs
- /vol1/1000/Docker_Data/stirling-pdf/location/of/customFiles:/customFiles
environment:
DOCKER_ENABLE_SECURITY: "false"
INSTALL_BOOK_AND_ADVANCED_HTML_OPS: "false"
LANGS: "en_GB"
restart: always