Skip to content

The bran new Magento2Docker v3

Compare
Choose a tag to compare
@glo47154 glo47154 released this 17 Apr 17:52
· 9 commits to master since this release
1070c7a

This is a brand new version of Magento2Docker. It is inspired by v2 and v1 but redesigned to be more flexible, easier to maintain, and much easier to use. It is focused on portability between macOS, Linux, and Windows (WSL2).

The list of new features and fixed bugs:

  • Introduced a brand new way of using Magento2Docker (single docker-compose.yml file approach);
  • Added CLI Tool to manage settings and containers (./bin/m2d);
  • Added support for 'bind' type volumes (for Linux users);
  • A single version of the project will now be sufficient for both Intel and Apple M1/M2 CPUs;
  • Services and tools configured via the .env file;
  • Full support for native docker-compose commands;
  • Reorganized project structure - no more env and src folders;
  • Added friendly setup - now single entry point to set up everything that is mandatory;
  • The source folder can be placed anywhere, also outside of the project directory;
  • Added all supported versions of all core services used by Magento;
  • Fixed documentation;
  • Improved and fixed help for m2d command;
  • Fixed issue with a configuration file path when it is not yet created;
  • Exclude the '.env.back' file from the repository;
  • Added option for project suffix;
  • Fixed the Mailcatcher configuration;
  • Project clean-up;
  • Fixed issue about the incorrect extension for docker-compose when the sync method is set to bind;
  • Fixed incorrect container name when invoking 'bin/m2d go web';
  • Fixed issue about error thrown on Linux when any of multistage image name ends with an underscore symbol;
  • Fixed spelling and clarity in prompts, example files, and help;
  • Fixed issue with COMPOSER_AUTH variable interfering with auth.json files;
  • Fine-tune Mutagen sync options + added new action to fix stuck sync session -> 'bin/m2d sync fix';
  • Reorganize Dockerfile for Apache server for better maintainability;
  • Fixed issue with fixed configuration for Mailcatcher even if it is not enabled;
  • Change hostnames for Mailcatcher and Search Engine from external to internal ones for simplicity;
  • Fixed issue about PHP warning about setting memory limit to 0 during the build phase;
  • Added crontab, so now Magento cron is one command away: 'bin/magento cron:install';
  • Fixed issue with Adobe internal tool setup;
  • Fixed error on container build step about missing -y option for apt-get install command;