{"id":19235216,"url":"https://github.com/sensson/docker-magento2","last_synced_at":"2025-04-21T05:31:50.405Z","repository":{"id":52589455,"uuid":"111312221","full_name":"sensson/docker-magento2","owner":"sensson","description":"A base Magento 2 image that can be used to scale in production","archived":false,"fork":false,"pushed_at":"2021-04-24T14:07:24.000Z","size":40,"stargazers_count":63,"open_issues_count":4,"forks_count":36,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-01T10:01:51.620Z","etag":null,"topics":["docker","docker-compose","magento","magento2"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sensson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-19T16:27:33.000Z","updated_at":"2024-10-06T15:14:35.000Z","dependencies_parsed_at":"2022-09-24T02:43:37.304Z","dependency_job_id":null,"html_url":"https://github.com/sensson/docker-magento2","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/sensson%2Fdocker-magento2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sensson%2Fdocker-magento2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sensson%2Fdocker-magento2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sensson%2Fdocker-magento2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sensson","download_url":"https://codeload.github.com/sensson/docker-magento2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250002237,"owners_count":21359075,"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","docker-compose","magento","magento2"],"created_at":"2024-11-09T16:16:18.536Z","updated_at":"2025-04-21T05:31:50.106Z","avatar_url":"https://github.com/sensson.png","language":"Shell","readme":"# docker-magento2\n\n[![Docker Automated Build](https://img.shields.io/docker/automated/sensson/magento2.svg)](https://hub.docker.com/r/sensson/magento2/) [![Docker Build Status](https://img.shields.io/docker/build/sensson/magento2.svg)](https://hub.docker.com/r/sensson/magento2/)\n\nA base Magento 2 image that can be used to scale in production. This can\nbe used in combination with MySQL and Redis. It is opinionated and includes\nsupport for Composer, ionCube, Redis, OPcache, and the required PHP modules\nfor a basic Magento installation.\n\nIt does not include Magento.\n\n# Usage\n\nAn example `Dockerfile`\n\n```\nFROM sensson/magento2\nCOPY src/ /var/www/html/\n```\n\nMore details can be found in [Magento2 and Docker](DOCKER.md).\n\n# Persistent storage\n\nThe container assumes you do not store data in a folder along with the\napplication. Don't use Docker volumes for scale. Use CephFS, GlusterFS or\nintegrate with S3 or S3-compatible services such as [Fuga.io](https://fuga.io).\n\n# Configuration\n\n## Environment variables\n\nEnvironment variable  | Description                   | Default\n--------------------  | -----------                   | -------\nMYSQL_HOSTNAME        | MySQL hostname                | mysql\nMYSQL_USERNAME        | MySQL username                | root\nMYSQL_PASSWORD        | MySQL password                | secure\nMYSQL_DATABASE        | MySQL database                | magento\nCRYPTO_KEY            | Magento Encryption key        | Emtpy\nURI                   | Uri (e.g. http://localhost)   | http://localhost\nRUNTYPE               | Set to development to enable  | Empty\nADMIN_USERNAME        | Administrator username        | admin\nADMIN_PASSWORD        | Administrator password        | adm1nistrator\nADMIN_FIRSTNAME       | Administrator first name      | admin\nADMIN_LASTNAME        | Administrator last name       | admin\nADMIN_EMAIL           | Administrator email address   | admin@localhost.com\nBACKEND_FRONTNAME     | The URI of the admin panel    | admin\nCURRENCY              | Magento's default currency    | EUR\nLANGUAGE              | Magento's default language    | en_US\nCONTENT_LANGUAGES     | The languages used in Magento | en_US\nTIMEZONE              | Magento's timezone            | Europe/Amsterdam\nCRON                  | Run as a cron container       | false\nUNATTENDED            | Run unattended upgrades       | false\n\nInclude the port mapping in `URI` if you run your shop on a local development\nenvironment, e.g. `http://localhost:3000/`.\n\n## Hooks\n\nHooks allow you to run certain actions at certain points in the startup\nprocedure without having to rewrite `entrypoint.sh`. You can use hooks to\nimport data, preconfigure settings or run other scripts that need to run\neach startup sequence.\n\nHook point   | Location                 | Description\n----------   | ---------                | -----------\nPre install  | `/hooks/pre_install.sh`  | Runs before an installation or update.\nPre compile  | `/hooks/pre_compile.sh`  | Runs before code compilation starts.\nPost install | `/hooks/post_install.sh` | Runs after Magento has been installed.\n\nYou need to `COPY` any hooks to this location yourself.\n\n## Development mode\n\nSetting `RUNTYPE` to `development` will turn on public error reports. Anything\nelse will leave it off. It will also set `display_errors` to on in PHP. This is\nset to off by default.\n\nA basic `docker-compose.yml` has been provided to help during the development\nof this image.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsensson%2Fdocker-magento2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsensson%2Fdocker-magento2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsensson%2Fdocker-magento2/lists"}