-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mautic 4 stateless container #198
base: mautic4
Are you sure you want to change the base?
Commits on Aug 13, 2021
-
Combine common files into single location
An effort has been made in the past to combine any dockerfiles into a central location, but wasn't finalized (i assume due to docker not allowing includes from directories higher up). This completes this work, and documents how to run the Dockerfiles to produce working containers.
Configuration menu - View commit details
-
Copy full SHA for 4760c5a - Browse repository at this point
Copy the full SHA 4760c5aView commit details -
Allow additional config to be applied on startup.
This changes the environment variable config so that any environment variable changes are re-applied to local.php on container startup. It is part of some work I am doing to help make the mautic containers more devops friendly.
Configuration menu - View commit details
-
Copy full SHA for c97b64d - Browse repository at this point
Copy the full SHA c97b64dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b450107 - Browse repository at this point
Copy the full SHA b450107View commit details -
Automatically install mautic on container start
This commit will automatically perform a command line installation on first start, assuming mautic hasn't already been installed. You need to supply MAUTIC_URL, MAUTIC_ADMIN_EMAIL and MAUTIC_ADMIN_PASSWORD, or these will default to localhost, [email protected] and password. If you are installing on a non-https host, or have another reason why the install might need to be forced, you can set the `MAUTIC_INSTALL_FORCE` environment variable to force this install.
Configuration menu - View commit details
-
Copy full SHA for 26dac48 - Browse repository at this point
Copy the full SHA 26dac48View commit details -
Initial work to allow for updates by changing out software
clear cache, apply migrations and grab iplookup database on startup
Configuration menu - View commit details
-
Copy full SHA for f732c0c - Browse repository at this point
Copy the full SHA f732c0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a3954da - Browse repository at this point
Copy the full SHA a3954daView commit details -
Add ability to disable automatically running migrations
We currently apply all migrations at startup - this is not needed for some users who are only running small parts of mautic. Add an environment variable that can be set to disable this behaviour.
Configuration menu - View commit details
-
Copy full SHA for 443fe33 - Browse repository at this point
Copy the full SHA 443fe33View commit details -
Update mautic4 container to be largely stateless
This update makes a few changes: - Moves `local.php`, `cache`, `logs`, `media` and `spool` into a volume at `/data` - Makes sure the above exist and are owned by www-data on startup - Drops mautic into /var/www/html and removes the copy on initial bringup
Configuration menu - View commit details
-
Copy full SHA for e1ecffd - Browse repository at this point
Copy the full SHA e1ecffdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 811488b - Browse repository at this point
Copy the full SHA 811488bView commit details