Back to Apps
Mautic

Deploy Mautic on Your Own Server

Mautic is an open source marketing automation platform.

⚡ Automation

Want to deploy Mautic on your server faster? Try Senate with one-command setup, automatic HTTPS and monitoring.

Get Started

What is Mautic?

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.

Self-Host Mautic

Follow these steps to deploy on your own server.

1

Install Docker

Skip this step if Docker is already installed on your server.

curl -fsSL https://get.docker.com | sh
2

Configure

Customize the settings below. Defaults work for most cases.

General
3

Deploy

Copy the configuration and run it on your server.

services:
  mautic:
    image: mautic/mautic:5.1.0-apache
    environment:
      APACHE_SERVER_NAME: mautic.apps.domain.co.uk
      MAUTIC_DB_HOST: mautic-db
      MAUTIC_DB_NAME: mautic
      MAUTIC_DB_PASSWORD: a3635a82e378890f99
      MAUTIC_DB_USER: mauticuser
      MAUTIC_RUN_CRON_JOBS: "true"
      MYSQL_DB_PORT: "3306"
    volumes:
      - mautic-config:/var/www/html/config
      - mautic-logs:/var/www/html/var/logs
      - mautic-media:/var/www/html/docroot/media
    depends_on:
      - mautic-db
  mautic-db:
    image: percona/percona-server:8.3.0-1.1-multi
    environment:
      MYSQL_DATABASE: mautic
      MYSQL_PASSWORD: a3635a82e378890f99
      MYSQL_ROOT_PASSWORD: a3635a82e378890f99
      MYSQL_USER: mauticuser
    volumes:
      - mautic-db-data:/var/lib/mysql
volumes:
  mautic-config: {}
  mautic-logs: {}
  mautic-media: {}
  mautic-db-data: {}

Then run:

docker compose up -d
4

Access

Once started, access your app at http://localhost:80

Why Self-Host Mautic?

Full Data Ownership

Your data stays on your servers. No third-party access.

No Monthly Fees

Pay only for your server. No per-seat or usage charges.

Complete Control

Customize, backup, and scale on your own terms.

Privacy & Compliance

Meet GDPR, HIPAA, or internal security requirements.

Technical Details

Docker Image

mautic/mautic:${mautic_version}

Want to go faster?

Try Senate! Senate handles Docker, HTTPS, updates, and monitoring for you. Deploy any of our 300+ apps with a single command.

Install on any Linux server:

sh -c "$(curl -sSL https://get.senate.sh)"