automatically restart stirling-pdf on failure

This commit is contained in:
Mika Bomm 2024-12-16 16:09:21 +01:00
parent 3ce951d61d
commit 3de2d8c652

View file

@ -2,13 +2,14 @@ services:
stirling-pdf:
container_name: stirling-pdf
image: frooodle/s-pdf:latest
restart: unless-stopped
ports:
- '55556:8080'
volumes:
- ./trainingData:/usr/share/tessdata #Required for extra OCR languages
- ./extraConfigs:/configs
# - ./customFiles:/customFiles/
# - ./logs:/logs/
# - ./customFiles:/customFiles/
# - ./logs:/logs/
environment:
- DOCKER_ENABLE_SECURITY=false
- INSTALL_BOOK_AND_ADVANCED_HTML_OPS=false