diff --git a/servapps/Stirling-PDF/cosmos-compose.json b/servapps/Stirling-PDF/cosmos-compose.json new file mode 100644 index 00000000..de5c0a8f --- /dev/null +++ b/servapps/Stirling-PDF/cosmos-compose.json @@ -0,0 +1,74 @@ +{ + "cosmos-installer": { + "form": [ + { + "name": "adminOnly", + "label": "Do you want to make this service admin only?", + "initialValue": false, + "type": "checkbox" + }, + { + "name": "NavbarName", + "label": "What would you like to be shown on the navbar?", + "initialValue": "Stirling PDF", + "type": "text" + }, + { + "name": "HomeDescritption", + "label": "You can also edit the description if you want.", + "initialValue": "Your locally hosted one-stop-shop for all your PDF needs.", + "type": "text" + } + ] + }, + "minVersion": "0.9.16", + "services": { + "{ServiceName}": { + "image": "frooodle/s-pdf", + "container_name": "{ServiceName}", + "restart": "unless-stopped", + "environment": [ + "APP_HOME_DESCRIPTION={Context.HomeDescritption}", + "APP_NAVBAR_NAME={Context.NavbarName}", + "APP_ROOT_PATH=/", + "ALLOW_GOOGLE_VISIBILITY=false" + ], + "volumes": [ + { + "source": "{ServiceName}-config", + "target": "/configs", + "type": "volume" + }, + { + "source": "{ServiceName}-ocr", + "target": "/usr/share/tesseract-ocr/4.00/tessdata", + "type": "volume" + } + ], + "labels": { + "cosmos-force-network-secured": "true", + "cosmos-auto-update": "true", + "cosmos-icon": "https://azukaar.github.io/cosmos-servapps-official/servapps/Stirling-PDF/icon.png" + }, + "routes": [ + { + "name": "{ServiceName}", + "description": "Expose {ServiceName} to the web", + "useHost": true, + "target": "http://{ServiceName}:8080", + "mode": "SERVAPP", + "Timeout": 14400000, + "ThrottlePerMinute": 12000, + "BlockCommonBots": true, + "SmartShield": { + "Enabled": true + }, + "AuthEnabled": true + {if Context.adminOnly} + , "AuthAdmin": true + {/if} + } + ] + } + } +} \ No newline at end of file diff --git a/servapps/Stirling-PDF/description.json b/servapps/Stirling-PDF/description.json new file mode 100644 index 00000000..ea2fd542 --- /dev/null +++ b/servapps/Stirling-PDF/description.json @@ -0,0 +1,9 @@ +{ + "name": "Stirling-PDF", + "longDescription": "

This is a locally hosted web application that allows you to perform various operations on PDF files, such as splitting and adding images.

", + "description": "This is a locally hosted web application that allows you to perform various operations on PDF files, such as splitting and adding images.", + "tags": ["document", "management", "organization", "archive", "collection", "web interface", "paper", "docker"], + "repository": "https://github.com/Frooodle/Stirling-PDF", + "image": "https://hub.docker.com/r/frooodle/s-pdf", + "supported_architectures": ["amd64", "arm64"] +} diff --git a/servapps/Stirling-PDF/icon.png b/servapps/Stirling-PDF/icon.png new file mode 100644 index 00000000..11695d86 Binary files /dev/null and b/servapps/Stirling-PDF/icon.png differ diff --git a/servapps/Stirling-PDF/screenshots/1.png b/servapps/Stirling-PDF/screenshots/1.png new file mode 100644 index 00000000..c01af6f9 Binary files /dev/null and b/servapps/Stirling-PDF/screenshots/1.png differ