This repository lets you run Mailtrain in multiple Docker containers. Docker Compose is used for orchestration.
This compose environment uses 3 containers:
- mariadb: A database that contains Mailtrain data.
- redis: A redis server used for session storage and for caching state between multiple processes.
- mailtrain: The Mailtrain application
You need to have Docker Compose installed.
You can edit the Mailtrain configuration file in config/mailtrain/production.toml
In the project root directory run the following command:
docker-compose up -d
This command build and run the containers.
You can log in to any of the container by running the following command:
docker exec -i -t <container-name> bash
You can acces to the Mailtrain app via the port 3000. In your browser at the following address http://localhost:3000.
Login with admin / test