Railway

Deploy Mautic

[2026-08-11] - Updated(backup pls) - Largest OSS marketing automation proj.

Deploy Mautic

MySQL

mysql:9

Just deployed

/var/lib/mysql

This is a template to 1click deploy Mautic (email marketing solution).

It will spin a MySQL database and connect it to the Mautic docker image deployed.

Configuration should be pretty straight forward. You can leave it as is and just follow the installation steps at the mautic ui which should be available at the address auto generated by railway after you deploy.

Please don't hesitate to make contributions if you feel the template is lacking!

--------- Update Deploys Mautic 7 (the latest major version) with a pinned MySQL 9 database.

MAUTIC_ADMIN_EMAIL you provide at deploy time (password is generated. Change it after first login, or check the service variables)

  • Automatic database migrations: redeploying after a template update migrates your database to the new Mautic version on boot.
  • Zero-downtime deploys: a healthcheck keeps the old version serving until the new one is ready

Setup

  1. Click Deploy and enter your admin email.
  2. Once live, log in at https:///s/login with that email and the generated MAUTIC_ADMIN_PASSWORD (in the Mautic service's Variables tab).
  3. Configure your sending email under Configuration → Email Settings.

Upgrading from an older version of this template (Mautic 4/5)

Your existing variables keep working — the new image understands the old MAUTIC_DB_HOST (host:port) and MAUTIC_DB_NAME formats. Before applying the update:

  1. Back up your database (Railway volume backup or mysqldump). The jump to Mautic 7 migrates your data automatically and worked flawlessly in testing (including 4 → 7 directly), but major upgrades deserve a backup.
  2. Add a MAUTIC_URL variable set to your public URL (e.g. https://your-domain.com) — older deploys don't have it, and without it Mautic shows the installer.
  3. Apply the update and redeploy. Migrations run automatically on boot.
  4. Do not change your existing MySQL service's image version. Moving an existing database to MySQL 9 requires a dump/restore — an in-place image bump can corrupt it. Your current MySQL keeps working with Mautic 7 (8.0+ required, 8.4+ recommended).

Template Content

MySQL

mysql:9

More templates in this category

View Template
N8N Main + Worker
Deploy and Host N8N with Inactive worker.

jakemerson
120
View Template
Evolution API with n8n
[Jul'26] WhatsApp automation platform using Evolution API, n8n & PostgreSQL

codestorm
68
View Template
Postgres Backup
Cron-based PostgreSQL backup to bucket storage

Railway Templates
870