Mautic Docker Compose configuration
Check that you have the latest Docker Engine & Docker Compose Plugin, installed and running on the machine where you plan to do the installation.
git clone https://github.com/wmo-raf/nmhs-mautic.git
cd nmhs-mautic
cp .env.sample .env
See the Environment Variables section for more details.
docker compose build
docker compose up -d
You can monitor the logs of the containers with the following command:
docker compose logs -f
Open your browser and go to http://your-ip-address:port
to finish the setup.
Environmental variables for docker compose. All Should be placed in a single .env
file, saved in the same folder
as docker-compose.yml
file
Variable | Description |
---|---|
MAUTIC_DB_NAME | Database name |
MAUTIC_DB_USER | Database user |
MAUTIC_DB_PASSWORD | Database password |
MAUTIC_PORT | Host port to use |