{"id":20463902,"url":"https://github.com/emakinafr/docker-magento","last_synced_at":"2025-07-24T10:06:59.539Z","repository":{"id":22450619,"uuid":"25789042","full_name":"EmakinaFR/docker-magento","owner":"EmakinaFR","description":":whale: Environment for a Magento1 application using Docker.","archived":false,"fork":false,"pushed_at":"2022-11-08T10:42:02.000Z","size":140,"stargazers_count":17,"open_issues_count":0,"forks_count":9,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-04-13T08:41:46.114Z","etag":null,"topics":["apache","blackfire","docker","docker-compose","magento","magento-1","mongodb","mysql","php","php-fpm","redis"],"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/EmakinaFR.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-26T20:13:03.000Z","updated_at":"2022-11-22T21:13:51.000Z","dependencies_parsed_at":"2023-01-11T21:37:50.596Z","dependency_job_id":null,"html_url":"https://github.com/EmakinaFR/docker-magento","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/EmakinaFR/docker-magento","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmakinaFR%2Fdocker-magento","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmakinaFR%2Fdocker-magento/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmakinaFR%2Fdocker-magento/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmakinaFR%2Fdocker-magento/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EmakinaFR","download_url":"https://codeload.github.com/EmakinaFR/docker-magento/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmakinaFR%2Fdocker-magento/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266823668,"owners_count":23990052,"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","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["apache","blackfire","docker","docker-compose","magento","magento-1","mongodb","mysql","php","php-fpm","redis"],"created_at":"2024-11-15T13:13:26.052Z","updated_at":"2025-07-24T10:06:59.525Z","avatar_url":"https://github.com/EmakinaFR.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker for Magento\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\nThis repository allows the creation of a Docker environment that meets\n[Magento 1](http://devdocs.magento.com/guides/m1x/system-requirements.html) requirements.\n\n:warning: **The `master` branch uses PHP 7.2 which is not compatible with Magento by default. The latest version with\nPHP 5.6 is available under the tag [v2.3](https://github.com/EmakinaFR/docker-magento/releases/tag/v2.3) if you do not\nplan to upgrade your PHP version.** :warning:\n\n## Images\n* `httpd:2.4-alpine`: [custom image](https://github.com/EmakinaFR/docker-magento/blob/master/apache/Dockerfile) with apache 2.4 (web server).\n* `blackfire/blackfire:latest`: application profiling.\n* `djfarrelly/maildev:latest`: emails web Interface for viewing and testing emails during development.\n* `mongo:3.6`: additional database.\n* `mysql:8`: magento database.\n* `php:7.2-fpm-alpine`: [custom image](https://github.com/EmakinaFR/docker-magento/blob/master/php/Dockerfile) with php-fpm 7.2.\n* `redis:6-alpine`: magento sessions and caches.\n\n## Additional Features\nSince this environment is designed for a local usage, it comes with features helping the development workflow.\n\nThe `apache` and `php` containers have a mount point used to share source files.\nBy default, the `~/www/` directory is mounted from the host. It's possible to change this path by editing\nthe `docker-compose.yml` file.\n\nIt's also possible to add custom virtual hosts: all `./apache/vhosts/*.conf` files are copied in the Apache directory\nduring the image build process.\n\nAnd the `./php/custom.ini` file is used to customize the PHP configuration during the image build process. \n\n## Installation\nThis process assumes that [Docker Engine](https://www.docker.com/docker-engine)\nand [Docker Compose](https://docs.docker.com/compose/) are installed.\nOtherwise, you should have a look to [Install Docker Engine](https://docs.docker.com/engine/installation/)\nbefore proceeding further.\n\n### Clone the repository\n```bash\n$ git clone git@github.com:EmakinaFR/docker-magento.git magento1\n```\nIt's also possible to download it as a [ZIP archive](https://github.com/EmakinaFR/docker-magento/archive/master.zip).\n\n### Configure the environment variables (optional)\n```bash\n$ make env\n```\n\n### Build the environment\n```bash\n$ make install\n```\n\n### Check the containers\n```bash\n$ make ps\n        Name                      Command               State              Ports\n--------------------------------------------------------------------------------------------\nmagento1_apache_1      httpd-foreground                 Up      0.0.0.0:443-\u003e443/tcp, 80/tcp\nmagento1_blackfire_1   blackfire-agent                  Up      8707/tcp\nmagento1_maildev_1     bin/maildev --web 80 --smtp 25   Up      25/tcp, 0.0.0.0:1080-\u003e80/tcp\nmagento1_mongo_1       docker-entrypoint.sh mongod      Up      0.0.0.0:27017-\u003e27017/tcp\nmagento1_mysql_1       docker-entrypoint.sh mysqld      Up      0.0.0.0:3306-\u003e3306/tcp\nmagento1_php_1         docker-custom-entrypoint p ...   Up      9000/tcp\nmagento1_redis_1       docker-entrypoint.sh redis ...   Up      6379/tcp\n```\nNote: You will see something slightly different if you do not clone the repository in a `magento1` directory.\nThe container prefix depends on your directory name.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femakinafr%2Fdocker-magento","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femakinafr%2Fdocker-magento","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femakinafr%2Fdocker-magento/lists"}