{"id":13516144,"url":"https://github.com/meanbee/docker-magento","last_synced_at":"2025-03-31T05:31:20.387Z","repository":{"id":45575220,"uuid":"45252469","full_name":"meanbee/docker-magento","owner":"meanbee","description":"🐳 Docker containers with all required Magento dependencies installed available as Apache and CLI","archived":true,"fork":false,"pushed_at":"2023-07-21T20:28:44.000Z","size":156,"stargazers_count":68,"open_issues_count":0,"forks_count":40,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-11-01T20:36:14.529Z","etag":null,"topics":["docker-image","magento","php7"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/meanbee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2015-10-30T13:28:13.000Z","updated_at":"2024-06-13T11:48:11.000Z","dependencies_parsed_at":"2024-11-01T20:31:17.891Z","dependency_job_id":"b8f0afc9-f8bd-46bb-90a9-0e83ecbee8fe","html_url":"https://github.com/meanbee/docker-magento","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meanbee%2Fdocker-magento","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meanbee%2Fdocker-magento/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meanbee%2Fdocker-magento/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meanbee%2Fdocker-magento/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meanbee","download_url":"https://codeload.github.com/meanbee/docker-magento/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246423527,"owners_count":20774795,"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":["docker-image","magento","php7"],"created_at":"2024-08-01T05:01:19.512Z","updated_at":"2025-03-31T05:31:19.009Z","avatar_url":"https://github.com/meanbee.png","language":"Dockerfile","funding_links":[],"categories":["Dockerfile"],"sub_categories":[],"readme":"# meanbee/magento\n\n[![Build Status][ico-travis]][link-travis]\n[![Docker Build Status][ico-dockerbuild]][link-dockerhub]\n[![Docker Pulls][ico-downloads]][link-dockerhub]\n[![Docker Stars][ico-dockerstars]][link-dockerhub]\n\nA collection of Docker images for running Magento application web servers and command line tools.\n\n# Supported tags and respective `Dockerfile` links\n\n- [`7.4-apache` (*7.4/apache/Dockerfile*)](https://github.com/meanbee/docker-magento/blob/master/7.4/apache/Dockerfile)\n- [`7.4-cli` (*7.4/cli/Dockerfile*)](https://github.com/meanbee/docker-magento/blob/master/7.4/cli/Dockerfile)\n- [`7.4-fpm` (*7.4/fpm/Dockerfile*)](https://github.com/meanbee/docker-magento/blob/master/7.4/fpm/Dockerfile)\n- [`7.3-apache` (*7.3/apache/Dockerfile*)](https://github.com/meanbee/docker-magento/blob/master/7.3/apache/Dockerfile)\n- [`7.3-cli` (*7.3/cli/Dockerfile*)](https://github.com/meanbee/docker-magento/blob/master/7.3/cli/Dockerfile)\n- [`7.3-fpm` (*7.3/fpm/Dockerfile*)](https://github.com/meanbee/docker-magento/blob/master/7.3/fpm/Dockerfile)\n- [`7.2-apache` (*7.2/apache/Dockerfile*)](https://github.com/meanbee/docker-magento/blob/master/7.2/apache/Dockerfile)\n- [`7.2-cli` (*7.2/cli/Dockerfile*)](https://github.com/meanbee/docker-magento/blob/master/7.2/cli/Dockerfile)\n- [`7.2-fpm` (*7.2/fpm/Dockerfile*)](https://github.com/meanbee/docker-magento/blob/master/7.2/fpm/Dockerfile)\n- [`7.1-apache` (*7.1/apache/Dockerfile*)](https://github.com/meanbee/docker-magento/blob/master/7.1/apache/Dockerfile)\n- [`7.1-cli` (*7.1/cli/Dockerfile*)](https://github.com/meanbee/docker-magento/blob/master/7.1/cli/Dockerfile)\n- [`7.1-fpm` (*7.1/fpm/Dockerfile*)](https://github.com/meanbee/docker-magento/blob/master/7.1/fpm/Dockerfile)\n- [`7.0-apache` (*7.0/apache/Dockerfile*)](https://github.com/meanbee/docker-magento/blob/master/7.0/apache/Dockerfile)\n- [`7.0-cli` (*7.0/cli/Dockerfile*)](https://github.com/meanbee/docker-magento/blob/master/7.0/cli/Dockerfile)\n- [`7.0-fpm` (*7.0/fpm/Dockerfile*)](https://github.com/meanbee/docker-magento/blob/master/7.0/fpm/Dockerfile)\n- [`5.6-apache` (*5.6/apache/Dockerfile*)](https://github.com/meanbee/docker-magento/blob/master/5.6/apache/Dockerfile)\n- [`5.6-cli` (*5.6/cli/Dockerfile*)](https://github.com/meanbee/docker-magento/blob/master/5.6/cli/Dockerfile)\n- [`5.6-fpm` (*5.6/fpm/Dockerfile*)](https://github.com/meanbee/docker-magento/blob/master/5.6/fpm/Dockerfile)\n- [`5.5-apache` (*5.5/apache/Dockerfile*)](https://github.com/meanbee/docker-magento/blob/master/5.5/apache/Dockerfile)\n- [`5.5-cli` (*5.5/cli/Dockerfile*)](https://github.com/meanbee/docker-magento/blob/master/5.5/cli/Dockerfile)\n- [`5.5-fpm` (*5.5/fpm/Dockerfile*)](https://github.com/meanbee/docker-magento/blob/master/5.5/fpm/Dockerfile)\n\n# Usage\n\nSince Magento requires several services working together, it recommended to use docker-compose with these images.\n\nSee [docker-compose.yml](docker-compose.yml) for a sample configuration.\n\n# Options\n\n## Sendmail\n\nAll images have sendmail installed for emails, however it is not enabled by default. To enable sendmail, use the following environment variable:\n\n    ENABLE_SENDMAIL=true\n\n*Note:* If sendmail has been enabled, make sure the container has a hostname assigned using the `hostname` field in `docker-compose.yml` or `--hostname` parameter for `docker run`. If the container does not have a hostname set, sendmail will attempt to discover the hostname on startup, blocking for a prolonged period of time.\n\n## Xdebug\n\nXdebug is installed and enabled on all the images by default. To configure it for remote debugging, start\nthe container with the following environment variable set (replacing the `{}` placeholders with appropriate values):\n\n    XDEBUG_CONFIG=\"remote_connect_back=1 remote_enable=1 idekey={IDEKEY}\"\n\nNote: If you're using PhpStorm, your IDE Key is probably `phpstorm`.\n\n# Command Line Tools\n\nThe `cli` images have a number of useful Magento tools pre-installed:\n\n- [composer](https://getcomposer.org/) - Install and manage PHP package dependencies\n- [mageconfigsync](https://github.com/punkstar/mageconfigsync) - Backup and restore Magento System Configuration\n- [magedbm](https://github.com/meanbee/magedbm) - Create development backups of the Magento database using S3 and import them\n- magemm - Sync media images from an S3 backup\n- [modman](https://github.com/colinmollenhour/modman) - Install Magento extensions\n- [magerun](https://github.com/netz98/n98-magerun) - Run command line commands in Magento\n\nAll of the installed tools run in the working directory of the container, so don't forget to set it using the `working_dir` service configuration option in `docker-compose.yml` or the `--workdir` parameter to `docker run`.\n\nSome of the commands use additional environment variables for configuration:\n\n - `AWS_ACCESS_KEY_ID` _(magedbm, magemm)_ Credentials for S3 connections\n - `AWS_SECRET_ACCESS_KEY` _(magedbm, magemm)_ Credentials for S3 connections\n - `AWS_REGION` _(magedbm, magemm)_ S3 region to use\n - `AWS_BUCKET` _(magedbm)_ S3 bucket to use for database backups\n - `AWS_MEDIA_BUCKET` _(magemm)_ S3 bucket to fetch media images from\n\n# Building\n\nA lot of the configuration for each image is the same, with the difference being the base image that they're extending from.  For this reason we use `php` to build the `Dockerfile` from a set of templates in `src/`.  The `Dockerfile` should still be published to the repository due to Docker Hub needing a `Dockerfile` to build from.\n\nTo build all `Dockerfile`s, run the `builder.php` script in the `php:7` Docker image:\u003c!-- Yo dawg, I heard you like Docker images... --\u003e\n\n    docker run --rm -it -v $(pwd):/src php:7 php /src/builder.php\n\n## Adding new images to the build config\n\nThe build configuration is controlled by the `config.json` file. Yeah element in the top level hash is a new build target, using the following syntax:\n\n    \"\u003ctarget-name\u003e\": {\n        \"version\": \"\u003cphp-version\u003e\",\n        \"flavour\": \"\u003cimage-flavour\u003e\",\n        \"files\": {\n            \"\u003ctarget-file-name\u003e\": {\n                \"\u003ctemplate-variable-name\u003e\": \"\u003ctemplate-variable-value\u003e\",\n                ...\n            },\n    }\n\nThe target files will be rendered in the `\u003cphp-version\u003e/\u003cimage-flavour\u003e/` directory.\n\nThe source template for each target file is selected from the `src/` directory using the following fallback order:\n\n1. `\u003ctarget-file-name\u003e-\u003cphp-version\u003e-\u003cimage-flavour\u003e`\n2. `\u003ctarget-file-name\u003e-\u003cphp-version\u003e`\n3. `\u003ctarget-file-name\u003e-\u003cimage-flavour\u003e`\n4. `\u003ctarget-file-name\u003e`\n\nIndividual templates may include other templates as partials.\n\n[ico-travis]: https://img.shields.io/travis/meanbee/docker-magento.svg?style=flat-square\n[ico-dockerbuild]: https://img.shields.io/docker/build/meanbee/magento.svg?style=flat-square\n[ico-downloads]: https://img.shields.io/docker/pulls/meanbee/magento.svg?style=flat-square\n[ico-dockerstars]: https://img.shields.io/docker/stars/meanbee/magento.svg?style=flat-square\n\n[link-travis]: https://travis-ci.org/meanbee/docker-magento\n[link-dockerhub]: https://hub.docker.com/r/meanbee/magento/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeanbee%2Fdocker-magento","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeanbee%2Fdocker-magento","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeanbee%2Fdocker-magento/lists"}