summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSimon Belbeoch <[email protected]>2020-05-24 17:56:44 +0200
committerGitHub <[email protected]>2020-05-24 11:56:44 -0400
commitde33289601fe81f5019a86606942f02392a32287 (patch)
tree045bd62023b66cb72d94e95441e0fdcdbdca4ed3
parent5962c9d378fd159675c2b886d61ea84451dcfbee (diff)
downloadcaprover-one-click-apps-de33289601fe81f5019a86606942f02392a32287.tar.gz
caprover-one-click-apps-de33289601fe81f5019a86606942f02392a32287.zip
Feature add mautic one app deployment (#173)
* add mautic logo * add mautic automation marketing tool deployment * take into account dev review * warn about deploying time in end message * add missing description
-rw-r--r--public/v2/apps/mautic.json75
-rw-r--r--public/v2/logos/mautic.pngbin0 -> 35103 bytes
2 files changed, 75 insertions, 0 deletions
diff --git a/public/v2/apps/mautic.json b/public/v2/apps/mautic.json
new file mode 100644
index 0000000..2842dac
--- /dev/null
+++ b/public/v2/apps/mautic.json
@@ -0,0 +1,75 @@
+{
+ "captainVersion": "2",
+ "displayName": "Mautic beta",
+ "description": "Mautic is an open source marketing automation platform.",
+ "dockerCompose": {
+ "version": "2",
+ "services": {
+ "$$cap_appname-db": {
+ "documentation": "Taken from https://hub.docker.com/_/percona",
+ "image": "percona/percona-server:$$cap_percona_version",
+ "notExposeAsWebApp": "true",
+ "volumes": [
+ "$$cap_appname-db-data:/var/lib/mysql"
+ ],
+ "restart": "always",
+ "environment": {
+ "MYSQL_ROOT_PASSWORD": "$$cap_db_pass",
+ "MYSQL_DATABASE": "mautic",
+ "MYSQL_USER": "$$cap_db_user",
+ "MYSQL_PASSWORD": "$$cap_db_pass"
+ }
+ },
+ "$$cap_appname": {
+ "depends_on": [
+ "$$cap_appname-db"
+ ],
+ "image": "mautic/mautic:$$cap_mautic_version",
+ "volumes": [
+ "$$cap_appname-data:/var/www/html"
+ ],
+ "restart": "always",
+ "environment": {
+ "MAUTIC_DB_HOST": "srv-captain--$$cap_appname-db",
+ "MYSQL_PORT_3306_TCP": "3306",
+ "MAUTIC_DB_USER": "$$cap_db_user",
+ "MAUTIC_DB_PASSWORD": "$$cap_db_pass",
+ "MAUTIC_DB_NAME": "mautic",
+ "MAUTIC_RUN_CRON_JOBS": "true"
+ }
+ }
+ }
+ },
+ "instructions": {
+ "start": "Mautic is an online,marketing automation tool.\nThe process will deploy a database and the App.\nThe process will take about a minute for the process to finish.",
+ "end": "Mautic is deployed and available as $$cap_appname.\n\nIMPORTANT: It will take up to 1-2 minutes for Mautic to be ready. Before that, you might see 502 error page.\nIf you dont have any SMTP server, I recommend you to install 'poste.io' one click app version."
+ },
+ "variables": [{
+ "id": "$$cap_db_user",
+ "label": "Database user",
+ "defaultValue": "mauticuser",
+ "description": "",
+ "validRegex": "/^([a-zA-Z0-9])+$/"
+ },
+ {
+ "id": "$$cap_db_pass",
+ "label": "Database password",
+ "description": "",
+ "validRegex": "/.{1,}/"
+ },
+ {
+ "id": "$$cap_mautic_version",
+ "label": "Mautic Version",
+ "defaultValue": "v3.0.0-beta",
+ "description": "Check out their Docker page for the valid tags https://hub.docker.com/r/mautic/mautic/tags. Please be aware, this is a beta version.",
+ "validRegex": "/^([^\\s^\\/])+$/"
+ },
+ {
+ "id": "$$cap_percona_version",
+ "label": "Percona Version (database)",
+ "defaultValue": "5.7",
+ "description": "Check out their Docker page for the valid tags https://hub.docker.com/_/percona?tab=tags",
+ "validRegex": "/^([^\\s^\\/])+$/"
+ }
+ ]
+}
diff --git a/public/v2/logos/mautic.png b/public/v2/logos/mautic.png
new file mode 100644
index 0000000..6c5d8bb
--- /dev/null
+++ b/public/v2/logos/mautic.png
Binary files differ