Deploy Instances without copying/pasting configuration files

Your software
My Mautic version is: 5.04
My PHP version is: 8.0
My Database type and version is: MariaDB 10.5.26

Your problem
My problem is: I’m working with a client helping to bring a large Mautic installation in-house so they can spread it across multiple instances to improve performance, eliminate time-out problems opening segments and separate promotional email campaigns from transactional email campaigns.

The problem is when the development team spins up a new Mautic instance, or updates from GIT, they have to manually go in and replicate or copy/paste all the configuration settings. They’re wanting to know if there is a way to avoid having to do that manually each time an update/upgrade is done or when creating a new instance.

Any suggestions appreciated.

Chris Blair

Well,

the solution for this would probably something along lines of using the combination of docker and copy instance specific files such media and config folders.

You’ll need to generate the configuration file during the install process.

Nothing much complicated, only boring to do…

Get yourself a code monkey that got some experience in automating Linux + Mautic and you’ll get what you want (I would quote about 4~8 hours to produce that kind of script, depending on your platform of choice).

Other than that, not much to say. You really only need to know system hooks - and some Mautic installation experience.