summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPatrick Nærvig Wøhlk <[email protected]>2020-02-14 02:37:09 +0100
committerGitHub <[email protected]>2020-02-13 20:37:09 -0500
commit93d0f65a449a1b827db1dc3c47fec7a6046cd75c (patch)
tree31e83eb041152d9793ec7a22dce8ab2b81f67863
parentb7a79dc7eec7353898525fa46cfdf6e3de2df4b5 (diff)
downloadcaprover-one-click-apps-93d0f65a449a1b827db1dc3c47fec7a6046cd75c.tar.gz
caprover-one-click-apps-93d0f65a449a1b827db1dc3c47fec7a6046cd75c.zip
Add wiki-js and Ghost blog (Without DB) (#128)
* Create wiki-js.json * Create ghost-only.json * Fixed volume * Added logos for ghost-only and wiki-js
-rw-r--r--public/v2/apps/ghost-only.json156
-rw-r--r--public/v2/apps/wiki-js.json87
-rw-r--r--public/v2/logos/ghost-only.pngbin0 -> 16401 bytes
-rw-r--r--public/v2/logos/wiki-js.pngbin0 -> 986500 bytes
4 files changed, 243 insertions, 0 deletions
diff --git a/public/v2/apps/ghost-only.json b/public/v2/apps/ghost-only.json
new file mode 100644
index 0000000..7115c69
--- /dev/null
+++ b/public/v2/apps/ghost-only.json
@@ -0,0 +1,156 @@
+{
+ "captainVersion": "2",
+ "documentation":"Taken from https://docs.ghost.org/",
+ "displayName": "Ghost Only",
+ "description": "This will create a Ghost blog without a database. Ghost is a free and open source blogging platform written in JavaScript and distributed under the MIT License. After installation you will need to change config.production.json, theres a bug where the port number is in the url.",
+ "dockerCompose":{
+ "services":{
+ "$$cap_appname":{
+ "containerHttpPort":"2368",
+ "environment":{
+ "GHOST_DATABASE_NAME":"$$cap_ghost_database_name",
+ "GHOST_DATABASE_PASSWORD":"$$cap_ghost_database_password",
+ "GHOST_DATABASE_USER":"$$cap_ghost_database_user",
+ "GHOST_EMAIL":"$$cap_ghost_email",
+ "GHOST_HOST":"$$cap_ghost_host",
+ "GHOST_PASSWORD":"$$cap_ghost_password",
+ "GHOST_PROTOCOL":"$$cap_ghost_protocol",
+ "GHOST_PORT_NUMBER": "$$cap_ghost_port",
+ "MARIADB_HOST":"$$cap_mariadb_host",
+ "MARIADB_PORT_NUMBER":"$$cap_mariadb_port_number",
+ "SMTP_FROM_ADDRESS":"$$cap_ghost_smtp_from",
+ "SMTP_HOST":"$$cap_ghost_smtp_host",
+ "SMTP_PASSWORD":"$$cap_ghost_smtp_password",
+ "SMTP_PORT":"$$cap_ghost_smtp_port",
+ "SMTP_SERVICE":"$$cap_ghost_smtp_service",
+ "SMTP_USER":"$$cap_ghost_smtp_user"
+ },
+ "image":"bitnami/ghost:$$cap_ghost_version",
+ "restart":"always",
+ "volumes":[
+ "$$cap_appname-data:/bitnami"
+ ]
+ }
+ },
+ "version":"2",
+ "volumes":{
+ "$$cap_appname-data":{
+
+ }
+ }
+ },
+ "instructions":{
+ "end":"Ghost is deployed and available as $$cap_appname. \n\n IMPORTANT: It will take up to 2 minutes for Ghost to be ready. Before that, you might see 502 error page.\n",
+ "start":"Ghost is a fully open source, adaptable platform for building and running a modern online publication. We power blogs, magazines and journalists from Zappos to Sky News."
+ },
+ "variables":[
+ {
+ "defaultValue":"3.4.0",
+ "description":"Check out their Docker page for the valid tags https://hub.docker.com/r/bitnami/ghost/tags",
+ "id":"$$cap_ghost_version",
+ "label":"Ghost Version",
+ "validRegex":"/^([^\\s^\\/])+$/"
+ },
+ {
+ "description":"Maria DB Host",
+ "defaultValue":"localhost",
+ "id":"$$cap_mariadb_host",
+ "label":"Maria DB Host"
+ },
+ {
+ "description":"Maria DB port",
+ "defaultValue":"3306",
+ "id":"$$cap_mariadb_port_number",
+ "label":"MariaDB user"
+ },
+ {
+ "description":"Database name",
+ "defaultValue":"ghost",
+ "id":"$$cap_ghost_database_name",
+ "label":"MariaDB Database name",
+ "validRegex":"/^([^\\s^\\/])+$/"
+ },
+ {
+ "description":"User for database",
+ "id":"$$cap_ghost_database_user",
+ "label":"MariaDB User",
+ "validRegex":"/^([^\\s^\\/])+$/"
+ },
+ {
+ "description":"Password for database",
+ "id":"$$cap_ghost_database_password",
+ "label":"MariaDB Ghost password",
+ "validRegex":"/^(?=.*\\d).{10,}$/"
+ },
+
+
+ {
+ "defaultValue":"[email protected]",
+ "description":"Ghost application email, you will use it to login",
+ "id":"$$cap_ghost_email",
+ "label":"Ghost email",
+ "validRegex":"/^([^\\s^\\/])+$/"
+ },
+ {
+ "description":"The admin password must be at least 10 characters, and at least one number and letter",
+ "id":"$$cap_ghost_password",
+ "label":"Ghost password",
+ "validRegex":"/^(?=.*\\d).{10,}$/"
+ },
+ {
+ "defaultValue":"blog.example.com",
+ "description":"Enter the URL that is used to access your publication",
+ "id":"$$cap_ghost_host",
+ "label":"Ghost Host",
+ "validRegex":"/^([^\\s^\\/])+$/"
+ },
+ {
+ "defaultValue":"http",
+ "description":"Protocol that you will be using",
+ "id":"$$cap_ghost_protocol",
+ "label":"Ghost Protocol",
+ "validRegex":"/^([^\\s^\\/])+$/"
+ },
+ {
+ "defaultValue":"80",
+ "description":"Port that you will be using",
+ "id":"$$cap_ghost_port",
+ "label":"Ghost Port"
+ },
+ {
+ "defaultValue":"GMail",
+ "description":"Ghost uses node mailer, check this docs https://docs.ghost.org/concepts/config/#mail",
+ "id":"$$cap_ghost_smtp_service",
+ "label":"STMP service to use"
+ },
+ {
+ "defaultValue":"smtp.gmail.com",
+ "description":"The STMP host you will be using",
+ "id":"$$cap_ghost_smtp_host",
+ "label":"STMP host"
+ },
+ {
+ "defaultValue":"465",
+ "description":"The SMTP port you will be using",
+ "id":"$$cap_ghost_smtp_port",
+ "label":"SMTP port"
+ },
+ {
+ "defaultValue":"[email protected]",
+ "description":"Your user on the SMTP service",
+ "id":"$$cap_ghost_smtp_user",
+ "label":"SMTP user"
+ },
+ {
+ "description":"Your password on the SMTP service",
+ "id":"$$cap_ghost_smtp_password",
+ "label":"SMTP password"
+ },
+ {
+ "defaultValue":"[email protected]",
+ "description":"SMTP from address",
+ "id":"$$cap_ghost_smtp_from",
+ "label":"SMTP from address"
+ }
+ ]
+}
diff --git a/public/v2/apps/wiki-js.json b/public/v2/apps/wiki-js.json
new file mode 100644
index 0000000..b0448ad
--- /dev/null
+++ b/public/v2/apps/wiki-js.json
@@ -0,0 +1,87 @@
+{
+ "captainVersion": "2",
+ "documentation":"https://docs.requarks.io/",
+ "displayName": "wiki.js",
+ "description": "The most powerful and extensible open source Wiki software",
+ "dockerCompose":{
+ "services":{
+ "$$cap_appname":{
+ "containerHttpPort":"3000",
+ "environment":{
+ "DB_TYPE":"$$cap_DB_TYPE",
+ "DB_HOST":"$$cap_DB_HOST",
+ "DB_PORT":"$$cap_DB_PORT",
+ "DB_USER":"$$cap_DB_USER",
+ "DB_PASS":"$$cap_DB_PASS",
+ "DB_NAME":"$$cap_DB_NAME",
+ "DB_SSL": "$$cap_DB_SSL"
+ },
+ "image":"requarks/wiki:$$cap_version",
+ "restart":"always",
+ "volumes":[
+ "$$cap_appname-data:/wiki"
+ ]
+ }
+ },
+ "version":"2",
+ "volumes":{
+ "$$cap_appname-data":{
+
+ }
+ }
+ },
+ "instructions":{
+ "end":"Wiki.js is deployed and available as $$cap_appname. \n\n IMPORTANT: It will take up to 2 minutes for Wiki.js to be ready. Before that, you might see 502 error page.\n",
+ "start":"Wiki.js is a fully open source, adaptable platform for building and running a Wiki."
+ },
+ "variables":[
+ {
+ "label":"Wiki.js Version",
+ "defaultValue":"2",
+ "description":"It's highly recommended that you don't use the latest tag but instead the major version you need, e.g. requarks/wiki:2",
+ "id":"$$cap_version"
+ },
+ {
+ "label":"DB_TYPE",
+ "description":"Type of database (mysql, postgres, mariadb, mssql or sqlite)",
+ "defaultValue":"mariadb",
+ "id":"$$cap_DB_TYPE"
+ },
+ {
+ "label":"DB_HOST",
+ "description":"Hostname or IP of the database",
+ "defaultValue":"localhost",
+ "id":"$$cap_DB_HOST"
+ },
+ {
+ "label":"DB_PORT",
+ "description":"Port of the database",
+ "defaultValue":"3306",
+ "id":"$$cap_DB_PORT"
+ },
+ {
+ "label":"DB_USER",
+ "description":"Username to connect to the database",
+ "defaultValue":"wiki-user",
+ "id":"$$cap_DB_USER"
+ },
+ {
+ "label":"DB_PASS",
+ "description":"Password to connect to the database",
+ "defaultValue":"wiki-password",
+ "id":"$$cap_DB_PASS"
+ },
+ {
+ "label":"DB_NAME",
+ "description":"Database name",
+ "defaultValue":"wiki",
+ "id":"$$cap_DB_NAME"
+ },
+ {
+ "label":"DB_SSL",
+ "description":"Set to either 1 or true to enable. (optional, off if omitted)",
+ "defaultValue":"false",
+ "id":"$$cap_DB_SSL"
+ }
+ ]
+}
diff --git a/public/v2/logos/ghost-only.png b/public/v2/logos/ghost-only.png
new file mode 100644
index 0000000..858a8bc
--- /dev/null
+++ b/public/v2/logos/ghost-only.png
Binary files differ
diff --git a/public/v2/logos/wiki-js.png b/public/v2/logos/wiki-js.png
new file mode 100644
index 0000000..5ff8951
--- /dev/null
+++ b/public/v2/logos/wiki-js.png
Binary files differ