diff options
| author | Rommel C. Manalo <[email protected]> | 2019-03-09 13:41:07 +0800 |
|---|---|---|
| committer | Kasra Bigdeli <[email protected]> | 2019-03-08 21:41:07 -0800 |
| commit | b27a254e6722631a395387afcd333e7d1351d931 (patch) | |
| tree | 73807a9ba2443b0c6165e630f1cbc924c956ce02 | |
| parent | 889149123d2aa2f01898312f03446978fc8d7154 (diff) | |
| download | caprover-one-click-apps-b27a254e6722631a395387afcd333e7d1351d931.tar.gz caprover-one-click-apps-b27a254e6722631a395387afcd333e7d1351d931.zip | |
Adding jsreport (#33)
* Added the jsreport template
* Update jsreport.json
* Update jsreport.json
* Uses the default version as 2.4.0-full,
Using the latest tag is prone for unstable build
| -rw-r--r-- | public/v1/apps/jsreport.json | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/public/v1/apps/jsreport.json b/public/v1/apps/jsreport.json new file mode 100644 index 0000000..af7da82 --- /dev/null +++ b/public/v1/apps/jsreport.json @@ -0,0 +1,54 @@ +{ + "captainVersion": "1", + "documentation": "Taken from https://hub.docker.com/r/jsreport/jsreport/", + "dockerCompose": { + "version": "3.3", + "services": { + "$$cap_appname": { + "image": "jsreport/jsreport:$$cap_jsreport_version", + "volumes": [ + "$$cap_appname-db-data:/data/db", + "$$cap_appname-db-config:/data/configdb" + ], + "restart": "always", + "containerHttpPort": "5488", + "environment": { + "extensions_authentication_admin_username": "$$cap_jsreport_adminusername", + "extensions_authentication_admin_password": "$$cap_jsreport_password", + "extensions_authentication_cookieSession_secret": "$$cap_jsreport_secret" + } + } + } + }, + "instructions": { + "start": "Reporting tools for creating PDF, HTMLS, Excel by converting your HTML + CSS + Javascript knowledge.", + "end": "Congratulations! You have the new jsReport instance running. Happy reporting!" + }, + "variables": [{ + "id": "$$cap_jsreport_version", + "label": "version", + "defaultValue": "2.4.0-full", + "description": "Checkout their docker page for the valid tags https://hub.docker.com/r/jsreport/jsreport/tags", + "validRegex": "/^([^\\s^\\/])+$/" + }, + { + "id": "$$cap_jsreport_adminusername", + "label": "Admin user name", + "defaultValue": "admin", + "description": "Only use alphanumeric chars.", + "validRegex": "/^([a-zA-Z0-9])+$/" + }, + { + "id": "$$cap_jsreport_password", + "label": "Admin password", + "validRegex": "/^\\s*\\S.*$/" + }, + { + "id": "$$cap_jsreport_secret", + "label": "Session secret", + "defaultValue": "long-secret", + "validRegex": "/^\\s*\\S.*$/" + } + ] + +} |
