Docker Mautic Image
<img src="https://www.mautic.org/media/images/github_readme.png" />
Supported tags and respective
Mautic is distributed under the GPL v3 license. Full details of the license can be found in the Mautic GitHub repository.
How to use this image
docker run --name some-mautic --link some-mysql:mysql -d mautic/mautic
The following environment variables are also honored for configuring your Mautic instance:
-e MAUTIC_DB_HOST=...(defaults to the IP and port of the linked
-e MAUTIC_DB_USER=...(defaults to "root")
-e MAUTIC_DB_PASSWORD=...(defaults to the value of the
MYSQL_ROOT_PASSWORDenvironment variable from the linked
-e MAUTIC_DB_NAME=...(defaults to "mautic")
-e MAUTIC_RUN_CRON_JOBS=...(defaults to unset, if set then all cron jobs are run every 15 minutes)
MAUTIC_DB_NAME specified does not already exist on the given MySQL server, it will be created automatically upon startup of the
mautic container, provided that the
MAUTIC_DB_USER specified has the necessary permissions to create it.
If you'd like to be able to access the instance from the host without the container's IP, standard port mappings can be used:
docker run --name some-mautic --link some-mysql:mysql -p 8080:80 -d mautic
Then, access it via
http://host-ip:8080 in a browser.
If you'd like to use an external database instead of a linked
mysql container, specify the hostname and port with
MAUTIC_DB_HOST along with the password in
MAUTIC_DB_PASSWORD and the username in
MAUTIC_DB_USER (if it is something other than
docker run --name some-mautic -e MAUTIC_DB_HOST=10.1.2.3:3306 \ -e MAUTIC_DB_USER=... -e MAUTIC_DB_PASSWORD=... -d mautic/mautic
mautic: image: mautic/mautic links: - mauticdb:mysql ports: - 8080:80 mauticdb: image: mysql:5.6 environment: MYSQL_ROOT_PASSWORD: example
docker-compose up, wait for it to initialize completely, and visit
Supported Docker versions
This image is officially supported on Docker version 1.7.1.
Support for older versions (down to 1.0) is provided on a best-effort basis.
If you have any problems with or questions about this image, please contact us through a GitHub issue.
You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.
Before you start to code, we recommend discussing your plans through a GitHub issue, especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.