Back to all templates
Mautic logo

Mautic

Application1024MB+ RAM

Open-source marketing automation platform

marketingautomationemailhubspot-alternative

Deploy Mautic in 3 Steps

1

Connect Your VPS

Add your server credentials to Server Compass

2

Select Mautic

Choose from our template library

3

Deploy & Configure

Fill in settings and click Deploy

No Docker knowledge required
Command Line Setup

Install Mautic Manually

Set up Mautic yourself using Docker Compose and the command line.

1

Establish SSH Connection

Connect to your remote server using SSH. Make sure you have your server credentials ready.

terminal
# Log into your server
ssh root@<your-server-ip>

# If using key-based auth
ssh -i ~/.ssh/my-key root@<your-server-ip>

First time? Docker not installed? Run: curl -fsSL https://get.docker.com | sh

2

Create Project Directory

Set up a directory to store your Docker configuration.

terminal
# Create and navigate to project directory
mkdir -p ~/apps/mautic
cd ~/apps/mautic
3

Configure Docker Compose

Add this configuration to your docker-compose.yml file:

docker-compose.yml
services:
  mautic:
    image: mautic/mautic:latest
    ports:
      - "8080:80"
    environment:
      - MAUTIC_DB_HOST=db
      - MAUTIC_DB_NAME=mautic
      - MAUTIC_DB_USER=mautic
      - MAUTIC_DB_PASSWORD=<your-db-password>
    volumes:
      - mautic_data:/var/www/html
    restart: unless-stopped
    depends_on:
      db:
        condition: service_healthy

  db:
    image: mysql:8.0
    environment:
      - MYSQL_ROOT_PASSWORD=<your-db-root-password>
      - MYSQL_DATABASE=mautic
      - MYSQL_USER=mautic
      - MYSQL_PASSWORD=<your-db-password>
    volumes:
      - mysql_data:/var/lib/mysql
    restart: unless-stopped
    healthcheck:
      test: ["CMD-SHELL", "mysqladmin ping -h localhost -u root -p$$MYSQL_ROOT_PASSWORD || exit 1"]
      interval: 10s
      timeout: 5s
      retries: 5
      start_period: 30s

volumes:
  mautic_data:
  mysql_data:
Configuration Options
PORTHost port(default: 8080)
DB_PASSWORDDB password
DB_ROOT_PASSWORDRoot password
4

Start the Services

Execute the deployment and check the container status.

terminal
# Deploy the application
docker compose up -d

# Check container health
docker compose ps

# Monitor logs
docker compose logs -f --tail=100
5

Allow Incoming Connections

Enable network access by updating your firewall rules.

terminal
# Allow the application port through firewall
sudo ufw allow 8080/tcp
sudo ufw reload

# Access your app at:
# http://your-server-ip:8080
Skip the Terminal

Too complicated? Let Server Compass handle it.

No terminal needed. Deploy Mautic through a visual dashboard with automatic configuration.

  • Intuitive dashboard
  • Deploy in 3 minutes
  • Free SSL included
  • Blue-green deploys
  • Real-time logs
  • Version history
Download Server Compass$29 one-time • Lifetime license

After Deployment

After deploying Mautic with Server Compass, complete these steps to finish setup

1

Complete installation wizard

2

Configure email sending

3

Create campaigns

Need help? Check out our documentation for detailed guides.

Mautic FAQ

Common questions about self-hosting Mautic

How do I deploy Mautic with Server Compass?

Simply download Server Compass, connect to your VPS, and select Mautic from the templates list. Fill in the required configuration and click Deploy. The entire process takes under 3 minutes.

What are the system requirements for Mautic?

Mautic requires a minimum of 1024MB RAM. We recommend a VPS with at least 2048MB RAM for optimal performance. Any modern Linux server with Docker support will work.

Can I migrate my existing Mautic data?

Yes! Server Compass provides volume mapping that allows you to import existing data. You can also use standard Mautic backup and restore procedures.

How do I update Mautic to the latest version?

Server Compass makes updates easy. Simply click the Update button in your deployment dashboard, and the latest Mautic image will be pulled and deployed with zero downtime.

Is Mautic free to self-host?

Mautic is open-source software. You only pay for your VPS hosting (typically $5-20/month) and optionally Server Compass ($29 one-time). No subscription fees or per-seat pricing.

Ready to Self-Host Mautic?

Download Server Compass and deploy Mautic to your VPS in under 3 minutes. No Docker expertise required.

Download Server Compass