Skip to content

Commit

Permalink
Deploy to GitHub Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
githubsaturn committed Jul 20, 2024
1 parent 30ed90a commit 6e06f5f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion forcebuild.date
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Thu Jul 18 03:12:36 UTC 2024
Sat Jul 20 17:52:13 UTC 2024
2 changes: 1 addition & 1 deletion v2/apps/mautic.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"captainVersion":2,"dockerCompose":{"services":{"$$cap_appname-db":{"documentation":"Taken from https://hub.docker.com/_/percona","image":"percona/percona-server:$$cap_percona_version","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"},"notExposeAsWebApp":"true"},"$$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"}}}},"variables":[{"id":"$$cap_db_user","label":"Database user","defaultValue":"mauticuser","description":"","validRegex":"/^([a-zA-Z0-9])+$/"},{"id":"$$cap_db_pass","label":"Database password","defaultValue":"$$cap_gen_random_hex(18)","description":"","validRegex":"/.{1,}/"},{"id":"$$cap_mautic_version","label":"Mautic Version","defaultValue":"5.1-apache","description":"Check out their Docker page for the valid tags https://hub.docker.com/r/mautic/mautic/tags.","validRegex":"/^([^\\s^\\/])+$/"},{"id":"$$cap_percona_version","label":"Percona Version (database)","defaultValue":"8.3.0-1.1-multi","description":"Check out their Docker page for the valid tags https://hub.docker.com/_/percona?tab=tags","validRegex":"/^([^\\s^\\/])+$/"}],"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."},"displayName":"Mautic","isOfficial":true,"description":"Mautic is an open source marketing automation platform."}
{"captainVersion":2,"dockerCompose":{"services":{"$$cap_appname-db":{"documentation":"Taken from https://hub.docker.com/_/percona","image":"percona/percona-server:$$cap_percona_version","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"},"notExposeAsWebApp":"true"},"$$cap_appname":{"depends_on":["$$cap_appname-db"],"image":"mautic/mautic:$$cap_mautic_version","volumes":["$$cap_appname-config:/var/www/html/config","$$cap_appname-logs:/var/www/html/var/logs","$$cap_appname-media:/var/www/html/docroot/media"],"restart":"always","environment":{"MAUTIC_DB_HOST":"srv-captain--$$cap_appname-db","MYSQL_DB_PORT":"3306","MAUTIC_DB_USER":"$$cap_db_user","MAUTIC_DB_PASSWORD":"$$cap_db_pass","MAUTIC_DB_NAME":"mautic","MAUTIC_RUN_CRON_JOBS":"true","APACHE_SERVER_NAME":"$$cap_apache_server_name"},"containerHttpPort":"80"}}},"variables":[{"id":"$$cap_db_user","label":"Database user","defaultValue":"mauticuser","description":"","validRegex":"/^([a-zA-Z0-9])+$/"},{"id":"$$cap_db_pass","label":"Database password","defaultValue":"$$cap_gen_random_hex(18)","description":"","validRegex":"/.{1,}/"},{"id":"$$cap_mautic_version","label":"Mautic Version","defaultValue":"5.1.0-apache","description":"Check out their Docker page for the valid tags https://hub.docker.com/r/mautic/mautic/tags.","validRegex":"/^([^\\s^\\/])+$/"},{"id":"$$cap_percona_version","label":"Percona Version (database)","defaultValue":"8.3.0-1.1-multi","description":"Check out their Docker page for the valid tags https://hub.docker.com/_/percona?tab=tags","validRegex":"/^([^\\s^\\/])+$/"},{"id":"$$cap_apache_server_name","label":"Apache Server Name","defaultValue":"mautic.apps.domain.co.uk","description":"The domain name for your Mautic instance","validRegex":"/^([a-zA-Z0-9.-])+$/"}],"instructions":{"start":"Mautic is an online, marketing automation tool. The process will deploy a database and the App. The process will take about a minute for the process to finish.","end":"Mautic is now deployed and available as http://$$cap_appname.$$cap_root_domain\nIMPORTANT: - It may take 1-2 minutes for Mautic to be ready. You might see a 502 error page during this time. - If you need an SMTP server, consider installing the 'poste.io' one-click app.\nTo ensure HTTPS works correctly inside Mautic (for asset links and form submissions), follow these instructions exactly. You should probably copy and paste these somewhere until you're all finished:\n1. Enable HTTPS in CapRover for your Mautic app: - Do not enable 'force HTTPS' in CapRover yet, this way you'll see any problems more clearly. You can do this later.\n2. Wait 2 minutes or so, just to let Mautic fully set itself up with the database and everything. - You will see 'apache2 -D FOREGROUND' in the App Logs under Deployment in CapRover when it's finished setting up. - You can check Mautic is up and running by visiting the URL. It should say 'welcome to setup' or similar and show 'recommendations' about SSL.\n3. Tell Mautic's Apache server what our domain name is: a. Go to your CapRover dashboard and open your Mautic app settings. b. In \"Environmental Variables\", ensure these variables are set correctly:\n - APACHE_SERVER_NAME = $$cap_appname.$$cap_root_domain\nc. Find the \"Service Update Override\" section. d. Copy and paste this script:\n ```\n TaskTemplate:\n ContainerSpec:\n Command:\n - /bin/sh\n - -c\n - |\n echo \"ServerName ${APACHE_SERVER_NAME}\" >> /etc/apache2/apache2.conf\n echo \"SetEnvIf X-Forwarded-Proto https HTTPS=on\" >> /etc/apache2/apache2.conf\n apache2-foreground\n ```\ne. Click \"Save & Update\" at the bottom of the page.\n4. Now revisit the Mautic URL: - You have to MANUALLY type https:// at the start of the URL. - You should notice the 'recommendations' have gone, and you are now ready to finish the setup.\n5. Verify HTTPS Configuration once setup is complete: - Log back into Mautic. - All links should now use HTTPS. - Create an asset and check its link, or - Go to System Info -> Recommendations (there should be no HTTPS-related recommendations).\n6. Final Step: - You can now enable 'Force HTTPS' in CapRover if desired.\nFollowing these steps will ensure Mautic is correctly configured for HTTPS in your CapRover environment."},"displayName":"Mautic","isOfficial":true,"description":"Mautic is an open source marketing automation platform."}
2 changes: 1 addition & 1 deletion v3/apps/mautic
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"captainVersion":2,"dockerCompose":{"services":{"$$cap_appname-db":{"documentation":"Taken from https://hub.docker.com/_/percona","image":"percona/percona-server:$$cap_percona_version","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"},"notExposeAsWebApp":"true"},"$$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"}}}},"variables":[{"id":"$$cap_db_user","label":"Database user","defaultValue":"mauticuser","description":"","validRegex":"/^([a-zA-Z0-9])+$/"},{"id":"$$cap_db_pass","label":"Database password","defaultValue":"$$cap_gen_random_hex(18)","description":"","validRegex":"/.{1,}/"},{"id":"$$cap_mautic_version","label":"Mautic Version","defaultValue":"5.1-apache","description":"Check out their Docker page for the valid tags https://hub.docker.com/r/mautic/mautic/tags.","validRegex":"/^([^\\s^\\/])+$/"},{"id":"$$cap_percona_version","label":"Percona Version (database)","defaultValue":"8.3.0-1.1-multi","description":"Check out their Docker page for the valid tags https://hub.docker.com/_/percona?tab=tags","validRegex":"/^([^\\s^\\/])+$/"}],"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."},"displayName":"Mautic","isOfficial":true,"description":"Mautic is an open source marketing automation platform."}
{"captainVersion":2,"dockerCompose":{"services":{"$$cap_appname-db":{"documentation":"Taken from https://hub.docker.com/_/percona","image":"percona/percona-server:$$cap_percona_version","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"},"notExposeAsWebApp":"true"},"$$cap_appname":{"depends_on":["$$cap_appname-db"],"image":"mautic/mautic:$$cap_mautic_version","volumes":["$$cap_appname-config:/var/www/html/config","$$cap_appname-logs:/var/www/html/var/logs","$$cap_appname-media:/var/www/html/docroot/media"],"restart":"always","environment":{"MAUTIC_DB_HOST":"srv-captain--$$cap_appname-db","MYSQL_DB_PORT":"3306","MAUTIC_DB_USER":"$$cap_db_user","MAUTIC_DB_PASSWORD":"$$cap_db_pass","MAUTIC_DB_NAME":"mautic","MAUTIC_RUN_CRON_JOBS":"true","APACHE_SERVER_NAME":"$$cap_apache_server_name"},"containerHttpPort":"80"}}},"variables":[{"id":"$$cap_db_user","label":"Database user","defaultValue":"mauticuser","description":"","validRegex":"/^([a-zA-Z0-9])+$/"},{"id":"$$cap_db_pass","label":"Database password","defaultValue":"$$cap_gen_random_hex(18)","description":"","validRegex":"/.{1,}/"},{"id":"$$cap_mautic_version","label":"Mautic Version","defaultValue":"5.1.0-apache","description":"Check out their Docker page for the valid tags https://hub.docker.com/r/mautic/mautic/tags.","validRegex":"/^([^\\s^\\/])+$/"},{"id":"$$cap_percona_version","label":"Percona Version (database)","defaultValue":"8.3.0-1.1-multi","description":"Check out their Docker page for the valid tags https://hub.docker.com/_/percona?tab=tags","validRegex":"/^([^\\s^\\/])+$/"},{"id":"$$cap_apache_server_name","label":"Apache Server Name","defaultValue":"mautic.apps.domain.co.uk","description":"The domain name for your Mautic instance","validRegex":"/^([a-zA-Z0-9.-])+$/"}],"instructions":{"start":"Mautic is an online, marketing automation tool. The process will deploy a database and the App. The process will take about a minute for the process to finish.","end":"Mautic is now deployed and available as http://$$cap_appname.$$cap_root_domain\nIMPORTANT: - It may take 1-2 minutes for Mautic to be ready. You might see a 502 error page during this time. - If you need an SMTP server, consider installing the 'poste.io' one-click app.\nTo ensure HTTPS works correctly inside Mautic (for asset links and form submissions), follow these instructions exactly. You should probably copy and paste these somewhere until you're all finished:\n1. Enable HTTPS in CapRover for your Mautic app: - Do not enable 'force HTTPS' in CapRover yet, this way you'll see any problems more clearly. You can do this later.\n2. Wait 2 minutes or so, just to let Mautic fully set itself up with the database and everything. - You will see 'apache2 -D FOREGROUND' in the App Logs under Deployment in CapRover when it's finished setting up. - You can check Mautic is up and running by visiting the URL. It should say 'welcome to setup' or similar and show 'recommendations' about SSL.\n3. Tell Mautic's Apache server what our domain name is: a. Go to your CapRover dashboard and open your Mautic app settings. b. In \"Environmental Variables\", ensure these variables are set correctly:\n - APACHE_SERVER_NAME = $$cap_appname.$$cap_root_domain\nc. Find the \"Service Update Override\" section. d. Copy and paste this script:\n ```\n TaskTemplate:\n ContainerSpec:\n Command:\n - /bin/sh\n - -c\n - |\n echo \"ServerName ${APACHE_SERVER_NAME}\" >> /etc/apache2/apache2.conf\n echo \"SetEnvIf X-Forwarded-Proto https HTTPS=on\" >> /etc/apache2/apache2.conf\n apache2-foreground\n ```\ne. Click \"Save & Update\" at the bottom of the page.\n4. Now revisit the Mautic URL: - You have to MANUALLY type https:// at the start of the URL. - You should notice the 'recommendations' have gone, and you are now ready to finish the setup.\n5. Verify HTTPS Configuration once setup is complete: - Log back into Mautic. - All links should now use HTTPS. - Create an asset and check its link, or - Go to System Info -> Recommendations (there should be no HTTPS-related recommendations).\n6. Final Step: - You can now enable 'Force HTTPS' in CapRover if desired.\nFollowing these steps will ensure Mautic is correctly configured for HTTPS in your CapRover environment."},"displayName":"Mautic","isOfficial":true,"description":"Mautic is an open source marketing automation platform."}
2 changes: 1 addition & 1 deletion v4/apps/mautic
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"captainVersion":4,"services":{"$$cap_appname-db":{"documentation":"Taken from https://hub.docker.com/_/percona","image":"percona/percona-server:$$cap_percona_version","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"},"caproverExtra":{"notExposeAsWebApp":"true"}},"$$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"}}},"caproverOneClickApp":{"variables":[{"id":"$$cap_db_user","label":"Database user","defaultValue":"mauticuser","description":"","validRegex":"/^([a-zA-Z0-9])+$/"},{"id":"$$cap_db_pass","label":"Database password","defaultValue":"$$cap_gen_random_hex(18)","description":"","validRegex":"/.{1,}/"},{"id":"$$cap_mautic_version","label":"Mautic Version","defaultValue":"5.1-apache","description":"Check out their Docker page for the valid tags https://hub.docker.com/r/mautic/mautic/tags.","validRegex":"/^([^\\s^\\/])+$/"},{"id":"$$cap_percona_version","label":"Percona Version (database)","defaultValue":"8.3.0-1.1-multi","description":"Check out their Docker page for the valid tags https://hub.docker.com/_/percona?tab=tags","validRegex":"/^([^\\s^\\/])+$/"}],"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."},"displayName":"Mautic","isOfficial":true,"description":"Mautic is an open source marketing automation platform."}}
{"captainVersion":4,"services":{"$$cap_appname-db":{"documentation":"Taken from https://hub.docker.com/_/percona","image":"percona/percona-server:$$cap_percona_version","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"},"caproverExtra":{"notExposeAsWebApp":"true"}},"$$cap_appname":{"depends_on":["$$cap_appname-db"],"image":"mautic/mautic:$$cap_mautic_version","volumes":["$$cap_appname-config:/var/www/html/config","$$cap_appname-logs:/var/www/html/var/logs","$$cap_appname-media:/var/www/html/docroot/media"],"restart":"always","environment":{"MAUTIC_DB_HOST":"srv-captain--$$cap_appname-db","MYSQL_DB_PORT":"3306","MAUTIC_DB_USER":"$$cap_db_user","MAUTIC_DB_PASSWORD":"$$cap_db_pass","MAUTIC_DB_NAME":"mautic","MAUTIC_RUN_CRON_JOBS":"true","APACHE_SERVER_NAME":"$$cap_apache_server_name"},"caproverExtra":{"enableHttp":true,"containerHttpPort":"80"}}},"caproverOneClickApp":{"variables":[{"id":"$$cap_db_user","label":"Database user","defaultValue":"mauticuser","description":"","validRegex":"/^([a-zA-Z0-9])+$/"},{"id":"$$cap_db_pass","label":"Database password","defaultValue":"$$cap_gen_random_hex(18)","description":"","validRegex":"/.{1,}/"},{"id":"$$cap_mautic_version","label":"Mautic Version","defaultValue":"5.1.0-apache","description":"Check out their Docker page for the valid tags https://hub.docker.com/r/mautic/mautic/tags.","validRegex":"/^([^\\s^\\/])+$/"},{"id":"$$cap_percona_version","label":"Percona Version (database)","defaultValue":"8.3.0-1.1-multi","description":"Check out their Docker page for the valid tags https://hub.docker.com/_/percona?tab=tags","validRegex":"/^([^\\s^\\/])+$/"},{"id":"$$cap_apache_server_name","label":"Apache Server Name","defaultValue":"mautic.apps.domain.co.uk","description":"The domain name for your Mautic instance","validRegex":"/^([a-zA-Z0-9.-])+$/"}],"instructions":{"start":"Mautic is an online, marketing automation tool. The process will deploy a database and the App. The process will take about a minute for the process to finish.","end":"Mautic is now deployed and available as http://$$cap_appname.$$cap_root_domain\nIMPORTANT: - It may take 1-2 minutes for Mautic to be ready. You might see a 502 error page during this time. - If you need an SMTP server, consider installing the 'poste.io' one-click app.\nTo ensure HTTPS works correctly inside Mautic (for asset links and form submissions), follow these instructions exactly. You should probably copy and paste these somewhere until you're all finished:\n1. Enable HTTPS in CapRover for your Mautic app: - Do not enable 'force HTTPS' in CapRover yet, this way you'll see any problems more clearly. You can do this later.\n2. Wait 2 minutes or so, just to let Mautic fully set itself up with the database and everything. - You will see 'apache2 -D FOREGROUND' in the App Logs under Deployment in CapRover when it's finished setting up. - You can check Mautic is up and running by visiting the URL. It should say 'welcome to setup' or similar and show 'recommendations' about SSL.\n3. Tell Mautic's Apache server what our domain name is: a. Go to your CapRover dashboard and open your Mautic app settings. b. In \"Environmental Variables\", ensure these variables are set correctly:\n - APACHE_SERVER_NAME = $$cap_appname.$$cap_root_domain\nc. Find the \"Service Update Override\" section. d. Copy and paste this script:\n ```\n TaskTemplate:\n ContainerSpec:\n Command:\n - /bin/sh\n - -c\n - |\n echo \"ServerName ${APACHE_SERVER_NAME}\" >> /etc/apache2/apache2.conf\n echo \"SetEnvIf X-Forwarded-Proto https HTTPS=on\" >> /etc/apache2/apache2.conf\n apache2-foreground\n ```\ne. Click \"Save & Update\" at the bottom of the page.\n4. Now revisit the Mautic URL: - You have to MANUALLY type https:// at the start of the URL. - You should notice the 'recommendations' have gone, and you are now ready to finish the setup.\n5. Verify HTTPS Configuration once setup is complete: - Log back into Mautic. - All links should now use HTTPS. - Create an asset and check its link, or - Go to System Info -> Recommendations (there should be no HTTPS-related recommendations).\n6. Final Step: - You can now enable 'Force HTTPS' in CapRover if desired.\nFollowing these steps will ensure Mautic is correctly configured for HTTPS in your CapRover environment."},"displayName":"Mautic","isOfficial":true,"description":"Mautic is an open source marketing automation platform."}}

0 comments on commit 6e06f5f

Please sign in to comment.