Apps / Docker Images
Mautic in Docker.
Marketing automation, cron solved.
Mautic is open source marketing automation: email campaigns, landing pages, contacts, segments, forms and lead scoring, without per-contact SaaS pricing.
docker pull ghcr.io/remarkablecloud/mautic Current build
5.2.11-r1
Updated Sep 12, 2026
Base
Mautic 5 official, digest-pinned
What's inside
Built-in cron loop, headless install, generated admin, MySQL 8 pairing
Upstream license
Mautic: GPL-2.0-or-later.
Free to pull and run anywhere. Digest-pinned, updated deliberately; each build is recorded in the changelog.
The image
What our image adds.
Mautic is open source marketing automation: email campaigns, landing pages, contacts, segments, forms and lead scoring, without per-contact SaaS pricing.
Built-in cron loop
Segment updates, campaign triggers and email queue processing run inside the container on a sane schedule; no separate cron container, no host crontab.
Headless install with a generated admin
The installer runs and the administrator exists before Apache serves its first request; the install wizard is never reachable by a visitor.
Persisted secret key and config
The application secret and local configuration live on volumes, so recreating the container never invalidates sessions or webhooks.
Migrations on boot
Later versions migrate the database automatically when the container starts on a new tag.
Digest-pinned base
The PHP and Apache underneath change only when we rebuild, scan and promote.
Rather skip the compose file? Deploy Mautic with one click on your own VPS: TLS, domain and database already wired.
Deploy Mautic in one clickThe guide
Run it in production.
Architecture at a glance
Two containers: mautic (Apache + PHP + cron loop) and db (MySQL 8). Volumes persist the database, Mautic configuration and media. The app serves HTTP on 80 behind your TLS proxy, with MAUTIC_SITE_URL driving generated links.
Docker Compose walkthrough
Set DB_PASSWORD, DB_ROOT_PASSWORD and SITE_URL, bring the stack up, and read the generated admin credentials from the container log on first boot. Then the two settings that make Mautic actually useful: configure the email transport (SMTP relay or provider API) in Configuration, and set the tracking script on your sites.
Environment variable reference
| Variable | Purpose |
|---|---|
| MAUTIC_DB_HOST / _PORT / _NAME / _USER / _PASSWORD | MySQL connection |
| MAUTIC_SITE_URL | Public https URL; drives tracking, links and webhooks |
| SMTP configuration | Set in the UI or env; nothing sends without it |
Hardening notes
The install wizard never runs in the browser, which removes the most common Mautic takeover path. Keep the DB on the internal network, keep 80 behind the proxy, and treat the config volume as sensitive; it holds the secret key.
Backups
The MySQL database plus the config and media volumes are the whole system. Dump the database on schedule; media matters if you host campaign images and assets locally.
Upgrades
Pull the new tag and recreate; migrations run on boot. Mautic majors occasionally change plugin compatibility, so read the changelog entry before a major jump, and test campaigns after.
Or skip the ops
Host Mautic on your own private VPS.
One click installs this exact image on a VPS that is yours alone, domain and TLS wizard included. The same server runs as many apps as fit, with no per-app charge.
FAQ
Questions we get.
Does email sending work out of the box?
The machinery does; the transport is yours to configure. Point Mautic at your SMTP relay or provider and send a test before launching a campaign.
Where do the cron jobs run?
Inside the container, on a loop tuned for single-server installs. You can see the schedule in the container log.
Can I use MariaDB instead of MySQL?
The stack ships MySQL 8, which is Mautic 5's best-tested pairing; stay on it unless you have a reason not to.
Where are the admin credentials?
Generated on first boot and printed once to the container log; store them, then change the password in your profile.
Your server runs. You sleep.
Fully managed hosting from people who have been doing this since 2001.