{"id":15025686,"url":"https://github.com/dirtsimple/mautic-server","last_synced_at":"2025-04-09T20:04:17.826Z","repository":{"id":113537252,"uuid":"97904698","full_name":"dirtsimple/mautic-server","owner":"dirtsimple","description":"Mautic docker server on alpine/nginx/php 7.1/local config volume","archived":false,"fork":false,"pushed_at":"2020-04-07T02:45:14.000Z","size":23,"stargazers_count":24,"open_issues_count":3,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-09T20:04:09.084Z","etag":null,"topics":["alpine","docker","mautic","nginx","php71"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dirtsimple.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-21T04:04:52.000Z","updated_at":"2023-06-08T16:59:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"289e8119-a39f-4423-a26d-e8753d2a0dc9","html_url":"https://github.com/dirtsimple/mautic-server","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirtsimple%2Fmautic-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirtsimple%2Fmautic-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirtsimple%2Fmautic-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirtsimple%2Fmautic-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dirtsimple","download_url":"https://codeload.github.com/dirtsimple/mautic-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248103865,"owners_count":21048245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alpine","docker","mautic","nginx","php71"],"created_at":"2024-09-24T20:02:50.632Z","updated_at":"2025-04-09T20:04:17.817Z","avatar_url":"https://github.com/dirtsimple.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Compact Docker server for Mautic\n\nBased on [dirtsimple/php-server](https://github.com/dirtsimple/php-server), and inspired by [mingfang/docker-mautic](https://github.com/mingfang/docker-mautic), this container is an alpine nginx+php 7.1 runner for Mautic 2.15.1+ that stores all configuration and data in a separate location from the application code, allowing the use of a proper data volume or mapped directory.  Unlike most mautic distributions, cron jobs are handled *sequentially* and *intelligently*, so that jobs cannot interfere with each other -- including slow runs of the same job.\n\nIn addition to the environment variables supported by dirtsimple/php-server, it also supports settings for:\n\n* `MAUTIC_PRS` -- a space-separate list of Mautic PR ids to apply when the container starts.  (This can also be set as a build argument, `BUILD_PRS`.)\n* `MAUTIC_JOBS` -- a space separated list of `mautic:` jobs to be run by cron, in execution order. Defaults to:\n  * `segments:update`\n  * `import`\n  * `campaigns:rebuild`\n  * `campaigns:trigger`\n  * `messages:send`\n  * `emails:send`\n  * `email:fetch`\n  * `social:monitoring`\n  * `webhooks:process`\n  * `broadcasts:send`\n  * `reports:scheduler`\n* `MAUTIC_JOB_OPTS` -- options to pass when running the above jobs; defaults to `--no-interaction`\n* `MAUTIC_JOB_TIMES` -- minutes at which jobs should be run; defaults to `*/5`, i.e., every five minutes\n* `MAUTIC_DATA` -- a directory under which all the instance's configuration, data, translations, media, logs, and cache will be stored; defaults to the volume `/data`.  (Note: If you change this, you will also need to update the `NGINX_WRITABLE` variable to include the new value instead of `/data`; see the `Dockerfile` for the other values that should be included in `NGINX_WRITABLE`.)\n\nIn addition to the above, you can also configure various Mautic settings (e.g. database/SMTP/queue parameters) using environment variables; see the [parameters_local.php file](docker/tpl/code/app/config/parameters_local.php) for a current list.  If it's not clear what value should be used for a given environment variable, you can configure the setting(s) via Mautic's UI and then inspect the `config/local.php` file in your `$MAUTIC_DATA` volume to find the values.  Values set via environment variables override those set via the UI.\n\n### Patches and Pull Requests\n\nBecause Mautic sometimes has issues that you may need PRs or custom patches to address, this image supports applying patches automatically.  You can list a series of Github PR numbers as a build argument (e.g. `docker build --build-args BUILD_PRS=\"7046 7399 7409\"`), or as an environment variable on a specific container (in the `MAUTIC_PRS` environment variable.)\n\nOf course, not all patches you may need to apply are available on Github, so this image automatically applies any patches found in a subdirectory of the container's `/patch-sets/` directory.  For example, if you mount a directory as `/patch-sets/my-patches`, then any `*.patch` files in that directory will also be applied.\n\nApplied patches are copied to `/applied-patches`, and are not reapplied unless the container is recreated or the patch files' contents change.  (Note that changing a patch may result in the patch not being able to be applied, unless you first un-apply the old patch or recreate the container.)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdirtsimple%2Fmautic-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdirtsimple%2Fmautic-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdirtsimple%2Fmautic-server/lists"}