type is redundant, removed
This commit is contained in:
parent
33d7e683bf
commit
ed1a2fcb00
|
|
@ -7,5 +7,5 @@ Process:
|
||||||
- Variables are prefixed with `$$cap`
|
- Variables are prefixed with `$$cap`
|
||||||
- There is one special variable called `$$cap_appname$$` which exists for all oneclick apps
|
- 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
|
- 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.
|
- Other than `image`, `environment`, `ports`, `volumes`, `depends_on`, other parameters are ignored. Make sure they are not important.
|
||||||
|
|
|
||||||
|
|
@ -51,29 +51,25 @@
|
||||||
"id": "$$cap_db_user",
|
"id": "$$cap_db_user",
|
||||||
"label": "Database user",
|
"label": "Database user",
|
||||||
"defaultValue": "wordpressuser",
|
"defaultValue": "wordpressuser",
|
||||||
"type": "text",
|
|
||||||
"testRegex": "/^[a-z0-9\\-]+$/"
|
"testRegex": "/^[a-z0-9\\-]+$/"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "$$cap_db_pass",
|
"id": "$$cap_db_pass",
|
||||||
"label": "Database password",
|
"label": "Database password",
|
||||||
"description": "",
|
"description": "",
|
||||||
"type": "text",
|
|
||||||
"validRegex": ".{22,}"
|
"validRegex": ".{22,}"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "$$cap_wp_version",
|
"id": "$$cap_wp_version",
|
||||||
"label": "WordPress Version",
|
"label": "WordPress Version",
|
||||||
"defaultValue": "latest",
|
"defaultValue": "latest",
|
||||||
"description": "Checkout their docker page for the valid tags",
|
"description": "Checkout their docker page for the valid tags"
|
||||||
"type": "text"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "$$cap_mysql_version",
|
"id": "$$cap_mysql_version",
|
||||||
"label": "MySQL Version",
|
"label": "MySQL Version",
|
||||||
"defaultValue": "latest",
|
"defaultValue": "latest",
|
||||||
"description": "Checkout their docker page for the valid tags",
|
"description": "Checkout their docker page for the valid tags"
|
||||||
"type": "text"
|
|
||||||
}]
|
}]
|
||||||
|
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue