summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFrancisco García <[email protected]>2020-04-14 23:23:55 -0400
committerGitHub <[email protected]>2020-04-14 23:23:55 -0400
commit14ee1aaa64bcd65807e0507f00ffacbbc6266918 (patch)
tree4705e2d9bd71b662def06e08d68cee4edabccf63
parentb715ab36168d1c487d7cf9a06f8ef43601d9e9cf (diff)
downloadcaprover-one-click-apps-14ee1aaa64bcd65807e0507f00ffacbbc6266918.tar.gz
caprover-one-click-apps-14ee1aaa64bcd65807e0507f00ffacbbc6266918.zip
Addedd Wordpress Only (#149)
* added wordpress-only option. * Update to messages * Update to settings * Updated name to logo * php my admin mod * Changes in texts WP Only * phpmyadmin roll back
-rw-r--r--public/v2/apps/phpmyadmin.json2
-rw-r--r--public/v2/apps/wordpress-only.json65
-rw-r--r--public/v2/logos/wordpress-only.pngbin0 -> 4307 bytes
3 files changed, 66 insertions, 1 deletions
diff --git a/public/v2/apps/phpmyadmin.json b/public/v2/apps/phpmyadmin.json
index ae08b94..6e0645f 100644
--- a/public/v2/apps/phpmyadmin.json
+++ b/public/v2/apps/phpmyadmin.json
@@ -27,4 +27,4 @@
"validRegex": "/^([^\\s^\\/])+$/"
}]
-}
+} \ No newline at end of file
diff --git a/public/v2/apps/wordpress-only.json b/public/v2/apps/wordpress-only.json
new file mode 100644
index 0000000..3331f16
--- /dev/null
+++ b/public/v2/apps/wordpress-only.json
@@ -0,0 +1,65 @@
+{
+ "captainVersion": "2",
+ "documentation": "Taken from https://docs.docker.com/compose/wordpress/. Port mapping removed from WP as it is no longer needed",
+ "displayName": "WordPress - No Database",
+ "description": "This will create a WordPress only. You will need to create and configure the database information manually. Intended for advanced users.",
+ "dockerCompose": {
+ "version": "3.3",
+ "services": {
+ "$$cap_appname-wordpress": {
+ "image": "wordpress:$$cap_wp_version",
+ "volumes": ["$$cap_appname-wp-data:/var/www/html"],
+ "restart": "always",
+ "environment": {
+ "WORDPRESS_DB_HOST": "$$cap_db_host:3306",
+ "WORDPRESS_DB_NAME": "$$cap_db_name",
+ "WORDPRESS_TABLE_PREFIX": "$$cap_db_prefix",
+ "WORDPRESS_DB_USER": "$$cap_db_user",
+ "WORDPRESS_DB_PASSWORD": "$$cap_db_pass"
+ }
+ }
+ }
+ },
+ "instructions": {
+ "start": "WordPress is an online, open source website creation tool written in PHP. But in non-geek speak, it’s 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 WordPress container will be created for you. The process will take about a minute for the process to finish. \n\nNote: This app is intended for advanced users who'd like to have a central DB in a single container for multiple WP's. You should start by configuring your DB first and then comeback with all the DB Information.",
+ "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 a 502 error page.\n\n. Remember that this app will not create a Database by itself. You need to provide all that information."
+ },
+ "variables": [
+ {
+ "description": "Database host",
+ "defaultValue": "srv-captain--xxx",
+ "id": "$$cap_db_host",
+ "label": "Database Host"
+ },
+ {
+ "description": "Database name",
+ "defaultValue": "wordpress",
+ "id": "$$cap_db_name",
+ "label": "DB Name"
+ },
+ {
+ "description": "Table prefix used by this Wordpress",
+ "defaultValue": "WP_",
+ "id": "$$cap_db_prefix",
+ "label": "Table Prefix"
+ },
+ {
+ "id": "$$cap_db_user",
+ "label": "Database user",
+ "defaultValue": "wordpressuser"
+ },
+ {
+ "id": "$$cap_db_pass",
+ "label": "Database password",
+ "description": "",
+ "validRegex": "/.{1,}/"
+ },
+ {
+ "id": "$$cap_wp_version",
+ "label": "WordPress Version",
+ "defaultValue": "5.4.0",
+ "description": "Check out their Docker page for the valid tags https://hub.docker.com/r/library/wordpress/tags/",
+ "validRegex": "/^([^\\s^\\/])+$/"
+ }
+ ]
+}
diff --git a/public/v2/logos/wordpress-only.png b/public/v2/logos/wordpress-only.png
new file mode 100644
index 0000000..7889e15
--- /dev/null
+++ b/public/v2/logos/wordpress-only.png
Binary files differ