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
This commit is contained in:
parent
5962c9d378
commit
de33289601
|
|
@ -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^\\/])+$/"
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 34 KiB |
Loading…
Reference in New Issue