summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKasra Bigdeli <[email protected]>2018-12-25 22:36:27 -0800
committerKasra Bigdeli <[email protected]>2018-12-25 22:36:27 -0800
commited1a2fcb007573f847dd19cbcdb03a8cc967df34 (patch)
treee288c30ae084423a3814768062f7d8e7d4c91b22
parent33d7e683bfe03425af1c72c64c230530fd050faf (diff)
downloadcaprover-one-click-apps-ed1a2fcb007573f847dd19cbcdb03a8cc967df34.tar.gz
caprover-one-click-apps-ed1a2fcb007573f847dd19cbcdb03a8cc967df34.zip
type is redundant, removed
-rw-r--r--README.md2
-rw-r--r--one-click-apps/v1/wordpress.json8
2 files changed, 3 insertions, 7 deletions
diff --git a/README.md b/README.md
index aba9dd2..bdb6877 100644
--- a/README.md
+++ b/README.md
@@ -7,5 +7,5 @@ Process:
- Variables are prefixed with `$$cap`
- There is one special variable called `$$cap_appname$$` which exists for all oneclick apps
- Varibles can be anywhere in the JSON and they will be replaced by what user enters
-- Each variable must have `id`, `type`, `label`. It may also have `defaultValue`, `validRegex`, `description`.
+- Each variable must have `id`, `label`. It may also have `defaultValue`, `validRegex`, `description`.
- Other than `image`, `environment`, `ports`, `volumes`, `depends_on`, other parameters are ignored. Make sure they are not important.
diff --git a/one-click-apps/v1/wordpress.json b/one-click-apps/v1/wordpress.json
index 6647603..11ab0d8 100644
--- a/one-click-apps/v1/wordpress.json
+++ b/one-click-apps/v1/wordpress.json
@@ -51,29 +51,25 @@
"id": "$$cap_db_user",
"label": "Database user",
"defaultValue": "wordpressuser",
- "type": "text",
"testRegex": "/^[a-z0-9\\-]+$/"
},
{
"id": "$$cap_db_pass",
"label": "Database password",
"description": "",
- "type": "text",
"validRegex": ".{22,}"
},
{
"id": "$$cap_wp_version",
"label": "WordPress Version",
"defaultValue": "latest",
- "description": "Checkout their docker page for the valid tags",
- "type": "text"
+ "description": "Checkout their docker page for the valid tags"
},
{
"id": "$$cap_mysql_version",
"label": "MySQL Version",
"defaultValue": "latest",
- "description": "Checkout their docker page for the valid tags",
- "type": "text"
+ "description": "Checkout their docker page for the valid tags"
}]
} \ No newline at end of file