Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Mautic Basic Docker Template

This directory provides a basic setup to run Mautic using Docker Compose. It uses the official Apache-based Mautic Docker image and includes a MySQL container.

Important

Security Notice: Be sure to change the MYSQL_PASSWORD and MYSQL_ROOT_PASSWORD environment variables under .env before deploying to production.

Installation

  1. Clone this repository:

    git clone https://github.com/mautic/docker-mautic.git
    cd docker-mautic/examples/basic
  2. Start the environment:

    docker compose up -d
  3. Access Mautic in your browser at: http://localhost:8080

Configuration

You can configure environment variables in the .env file. Make sure to update the following before deploying to production:

MYSQL_PASSWORD=mautic_db_pwd
MYSQL_ROOT_PASSWORD=changeme

You may also want to map volumes or adjust ports as needed.

Cleanup

To stop and remove the containers:

docker compose down

To remove all volumes (this will delete your data):

docker-compose down -v

📘 Resources