escopecz/Deploy Mautic to DigitalOcean
Deploy Mautic 6 with Docker Compose to a DigitalOcean VPS with automated SSL and monitoring
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Dec 18, 2025
- License
- None
Pinned Snippet
uses: escopecz/mautic-do-action@5c5c1e6d7512a145446e34365e56eeb4dde3c376 # 0.4.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| digitalocean-token | DigitalOcean API access token | yes | — |
| ssh-private-key | SSH private key for VPS access | yes | — |
| Admin email address for Mautic and SSL certificates | yes | — | |
| mautic-password | Admin password for Mautic | yes | — |
| mautic-version | Mautic Docker image version | no | 6.0.7-apache |
| mautic-port | Port for Mautic instance | no | 8001 |
| domain | Domain name for your Mautic instance (optional, will use IP if not provided) | no | — |
| vps-name | Name for the DigitalOcean droplet | no | mautic-vps |
| vps-size | DigitalOcean droplet size - Minimum s-1vcpu-2gb recommended for MySQL 8.0 + Mautic (s-1vcpu-2gb, s-2vcpu-2gb, s-2vcpu-4gb, s-4vcpu-8gb) | no | s-1vcpu-2gb |
| vps-region | DigitalOcean region | no | nyc1 |
| themes | List of Mautic theme packages from Packagist or GitHub (one per line). Packagist packages: vendor/theme-name:^1.0 another-vendor/custom-theme:dev-main GitHub URLs (public repositories): https://github.com/user/theme-repo/archive/refs/heads/main.zip GitHub URLs with custom directory and authentication: https://github.com/company/private-theme/archive/main.zip?directory=MyCustomTheme&token=ghp_xxxxxxxxxxxxxxxxxxxx https://github.com/vendor/premium-theme/archive/v2.1.0.zip?directory=PremiumTheme&token=ghp_yyyyyyyyyyyyyyyyyyyy | no | — |
| plugins | List of Mautic plugin packages from Packagist or GitHub (one per line). Packagist packages: vendor/plugin-name:^2.0 another-vendor/custom-plugin:^1.5 GitHub URLs (public repositories): https://github.com/user/plugin-repo/archive/refs/heads/main.zip GitHub URLs with custom directory and authentication: https://github.com/company/private-plugin/archive/main.zip?directory=CompanyPlugin&token=ghp_xxxxxxxxxxxxxxxxxxxx https://github.com/vendor/premium-plugin/archive/v2.1.0.zip?directory=PremiumPlugin&token=ghp_yyyyyyyyyyyyyyyyyyyy | no | — |
| mysql-database | MySQL database name | no | mautic_db |
| mysql-user | MySQL user name | no | mautic_db_user |
| mysql-password | MySQL password | no | mautic_db_pwd |
| mysql-root-password | MySQL root password | no | changeme |
Outputs
| name | description |
|---|---|
| vps-ip | IP address of the created VPS |
| mautic-url | URL to access your Mautic instance |
| deployment-log | Path to the deployment log artifact |