fix(stirling-pdf): various fixes (#1950)

* feat(stirling-pdf): add docker security params

* fix(stirling-pdf): typo in multiple paths

* feat(stirling-pdf): added logs path

* fix(stirling-pdf): bumped to tess 5

* chore(stirling-pdf): bumped tipi app version
This commit is contained in:
JigSaw 2024-01-03 13:46:13 +01:00 committed by GitHub
parent 6c228d17e6
commit bf766960f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 7 deletions

View File

@ -5,7 +5,7 @@
"available": true,
"exposable": true,
"id": "stirling-pdf",
"tipi_version": 14,
"tipi_version": 15,
"version": "0.18.1",
"categories": [
"data",
@ -15,7 +15,13 @@
"short_desc": "Powerful locally hosted web based PDF manipulation tool.",
"author": "Frooodle",
"source": "https://github.com/Frooodle/Stirling-PDF/",
"form_fields": [],
"form_fields": [
{
"type": "boolean",
"label": "Docker > Enable Security",
"env_variable": "STIRLING_PDF_DOCKER_ENABLE_SECURITY"
}
],
"supported_architectures": [
"arm64",
"amd64"

View File

@ -1,4 +1,4 @@
version: "3.7"
version: "3.9"
services:
stirling-pdf:
image: ghcr.io/frooodle/s-pdf:0.18.1
@ -8,9 +8,12 @@ services:
ports:
- ${APP_PORT}:8080
volumes:
- ${APP_DATA_DIR}/datatrainingData:/usr/share/tesseract-ocr/4.00/tessdata #Required for extra OCR languages
- ${APP_DATA_DIR}/dataextraConfigs:/configs
- ${APP_DATA_DIR}/datacustomFiles:/customFiles/
- ${APP_DATA_DIR}/data/trainingData:/usr/share/tesseract-ocr/5/tessdata #Required for extra OCR languages
- ${APP_DATA_DIR}/data/extraConfigs:/configs
- ${APP_DATA_DIR}/data/customFiles:/customFiles/
- ${APP_DATA_DIR}/data/logs:/logs/
environment:
- DOCKER_ENABLE_SECURITY=${STIRLING_PDF_DOCKER_ENABLE_SECURITY-false}
networks:
- tipi_main_network
labels: