Skip to content

Latest commit

 

History

History
 
 

custom-plugins

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Mautic With Custom Plugins Template

This directory provides a setup to run Mautic using Docker Compose. It builds a custom image on top of the official Apache-based Mautic Docker image and includes MySQL for storage.

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/custom-plugins
  2. Crete a plugins subdirectory, and add your plugins

    mkdir plugins
    cp /your/plugins/path plugins/
  3. Start the environment:

    docker compose up -d
  4. 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