All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Version.
- Check if .gitignore exists when executing dockergento create-project, it may not exist.
- Added documentation about install command including elasticsearch setup.
- Added support for XDebug >= 3.
- Image added php:7.4-fpm for compatibility with Magento versions >= 2.4
- Increased fastcgi_buffer_size to 32K. This will fix Magento 2.4 max buffer size error.
- Now can add project name (-COMPOSER_FILE_NAME env var) via project properties.
- Created .editorconfig file with basic coding style rules.
- Now you can choose between Magento: Commerce or Open Source when creating a project.
- Added support for php 7.3
- Linux: permission fix not running on rebuild
- Linux: now correct permissions are set when UID is not 1000
- Added elasticsearch service
- Speed up debug-on and debug-off commands
- Changed naming convention for fpm images in order to have always the last version
- Updated nginx conf file
- Fixed large product imports increasing php
max_input_varsvalue - Fixed link to php image in docs
- Fix permission on linux machines automatically when containers start
- Added bind path
../.composer:/var/www/html/var/composer_homeso composer cache is kept in host.
- Added php version: 7.2.
- Fix bug when executing
debug-oncommand on linux machine
- Automatically set
--working-dir=${COMPOSER_DIR}option forcomposercommands.
- Support for Livereload in google Chrome.
- Documentation updates and Video tutorials section.
- Command descriptions added to
dockergentoconsole.
- Multiple OS compatibility (Linux, Mac)
- Include
magento2-dockergento-consoledirectly in this repository.
- Projects with vendor in repository were not working on Mac
- Magento 2 github project was not working on Mac
dockergentoneeds now 2docker-composefiles. The base one and the OS specific.appservice has been renamed tonginxmagento2-dockergento-consolerepository has been removed and its code has been added directly into this repo.- Debug commands have been renamed to
debug-onanddebug-off app-volumesservice has been removed.- New images used for
nginxandphpmodestcoders/nginx:1.13modestcoders/php:7.1-fpm-1
-
Create a backup of your current config:
mv config/dockergento config/dockergento-backup mv docker-compose.yml docker-compose.yml.backup -
Run
dockergento setupinside your project -
Edit volumes in
docker-compose.dev.mac.ymlas you had it before. -
Edit
nginxconfiguration inconfig/dockergento/nginx/conf/default.conf -
Edit
config/dockergento/propertiesif needed.
- Easier install documentation using
dockergento setupcommand - Set all configuration settings inside
config/dockergentofolder - Change
docker-compose.ymlfilename todocker-compose.sample.ymlas this file needs to be copied and edited per project.
-
Set whole magento application in a named volume
magentoinstead of using 6 volumes:app-vendor app-generated app-var pub-static pub-media integration-test-sandbox- Reason: Bug when having volumes inside a file bind mount: #26157
- Documentation about how to sync
vendorandgeneratedvolumes according to latest changes on magento2-dockergento-console
- Remove first 2 steps to configure xdebug in PHPStorm are not longer needed because it is enough by just setting the debug port and server configuration
- Remove bind mount of
generatedfolder inunison container. Unison container is now only meant to be used forwatch` command inside vendor modules.
- Development workflow documentation
- Troubleshooting section with info about broken volumes
- Use updated node image with right user
appby default - Use
modestcoders/phpimage - Xdebug uses now
xdebug.remote_host=host.docker.internalas it is defined onmodescoders/phpimages
- Remove not needed
NPM_CONFIG_PREFIXbecause default user is now app - Remove phpstorm xdebug
DBGpconfiguration step that is no longer needed
- Use
modestcoders/unison:2.51.2image for unison container - Update
markoshust/magento-phpimages to PHP7.1using tag7.1-fpm-3 - Update docker setup with fixes for node and integration tests
- Update dependencies and
app-volumesconfiguration to avoid issues whenapp-volumesis started several times in samedocker-compose upexecution - Execute Dockerfile run commands for
app-volumesin only one layer as it is best practise - Update README with
nodeandunisoncommands to useruninstead ofexec - Update
xdebug + phpstormdocumentation
- Use
modestcoders/node-php:node8-php7.0image for node container