From 3de2d8c652dbf8cb037963ff8c012c6d650932a4 Mon Sep 17 00:00:00 2001 From: Mika Date: Mon, 16 Dec 2024 16:09:21 +0100 Subject: [PATCH] automatically restart stirling-pdf on failure --- stirling-pdf/compose.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/stirling-pdf/compose.yaml b/stirling-pdf/compose.yaml index 8ae823d..91467d6 100644 --- a/stirling-pdf/compose.yaml +++ b/stirling-pdf/compose.yaml @@ -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