Deploy Mautic 7
Mautic 7 marketing automation: cron + worker, API email, MariaDB
MariaDB
Just deployed
/var/lib/mysql
Just deployed
/data
Mautic Worker
Just deployed
Mautic Cron
Just deployed
Deploy and Host Mautic 7 on Railway
Mautic is the leading open-source marketing automation platform: contacts, segments, email campaigns, landing pages, forms, lead scoring and tracking. A self-hosted alternative to HubSpot, ActiveCampaign or Mailchimp.
About Hosting Mautic 7
This template runs Mautic 7.2 (pinned) as three services from one image: web, cron and a queue worker, plus MariaDB. Settings saved in the UI reach cron and worker automatically, the cron schedule includes segment broadcasts, and HTTP API email transports (Amazon SES, Brevo, Mailgun, Postmark, Resend, SendGrid) are built in, so email works on Railway Hobby where SMTP is blocked. Mautic installs itself on first boot.
Common Use Cases
- Email newsletters and drip campaigns to your own contact list
- Lead capture forms and landing pages with tracking and scoring
- Replacing HubSpot/ActiveCampaign marketing seats
Dependencies for Mautic 7 Hosting
- MariaDB 11.4 (included, private network)
Deployment Dependencies
- Upstream project: https://github.com/mautic/mautic
- Template repo with email setup, upgrade and troubleshooting: https://github.com/TalhaRamzan/railway-mautic-7
Implementation Details
- Log in at
/s/loginasadminwith theADMIN_PASSWORDvariable on theMauticservice, then change the admin email (Account → Profile). - Email: set
MAILER_DSN(for examplebrevo+api://KEY@default),MAILER_FROM_EMAILandMAILER_FROM_NAMEon theMauticservice; cron and worker reference them. - Expect roughly $5–12/month on Railway (~0.5 GB RAM idle).
Why Deploy Mautic 7 on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying Mautic 7 on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Unofficial community template, not affiliated with the Mautic project. Mautic is GPL-3.0 licensed.
Template Content
MariaDB
mariadb:11.4.13Mautic Worker
TalhaRamzan/railway-mautic-7Mautic Cron
TalhaRamzan/railway-mautic-7