-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(market): added Stirling-PDF (#45)
Co-authored-by: Max Ebert <[email protected]>
- Loading branch information
Showing
4 changed files
with
83 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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} | ||
} | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "Stirling-PDF", | ||
"longDescription": "<p>This is a locally hosted web application that allows you to perform various operations on PDF files, such as splitting and adding images.</p>", | ||
"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"] | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.