Update wordpress.json

This commit is contained in:
Kasra Bigdeli 2018-12-26 17:26:17 -08:00 committed by GitHub
parent 1ba34da103
commit bf2dd65a6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 5 deletions

View File

@ -44,32 +44,34 @@
}, },
"instructions":{ "instructions":{
"start":"WordPress is an online, open source website creation tool written in PHP. But in non-geek speak, its probably the easiest and most powerful blogging and website content management system (or CMS) in existence today.\n\n Enter your WordPress Configuration parameters and click on next. A MySQL (database) and a WordPress container will be created for you. The process will take about a minute for the process to finish.", "start":"WordPress is an online, open source website creation tool written in PHP. But in non-geek speak, its probably the easiest and most powerful blogging and website content management system (or CMS) in existence today.\n\n Enter your WordPress Configuration parameters and click on next. A MySQL (database) and a WordPress container will be created for you. The process will take about a minute for the process to finish.",
"end":"Wordpress is deployed and available as $$cap_appname$$-wordpress" "end":"Wordpress is deployed and available as $$cap_appname$$-wordpress . \n\n IMPORTANT: It will take up to 2 minutes for wordpress to be ready. Before that, you might see 502 error page.\n"
}, },
"variables": [ "variables": [
{ {
"id": "$$cap_db_user", "id": "$$cap_db_user",
"label": "Database user", "label": "Database user",
"defaultValue": "wordpressuser", "defaultValue": "wordpressuser",
"validRegex": "/\\n/g" "validRegex": "/^([a-zA-Z0-9])+$/"
}, },
{ {
"id": "$$cap_db_pass", "id": "$$cap_db_pass",
"label": "Database password", "label": "Database password",
"description": "", "description": "",
"validRegex": ".{22,}" "validRegex": "/.{1,}/"
}, },
{ {
"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 (https://hub.docker.com/r/library/wordpress/tags/). Enter latest to get the latest version",
"validRegex": "/.{1,}/"
}, },
{ {
"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 (https://hub.docker.com/r/library/mysql/tags/). Enter latest to get the latest version",
"validRegex": "/.{1,}/"
}] }]
} }