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_vars
value - 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_home
so composer cache is kept in host.
- Added php version: 7.2.
- Fix bug when executing
debug-on
command on linux machine
- Automatically set
--working-dir=${COMPOSER_DIR}
option forcomposer
commands.
- Support for Livereload in google Chrome.
- Documentation updates and Video tutorials section.
- Command descriptions added to
dockergento
console.
- Multiple OS compatibility (Linux, Mac)
- Include
magento2-dockergento-console
directly in this repository.
- Projects with vendor in repository were not working on Mac
- Magento 2 github project was not working on Mac
dockergento
needs now 2docker-compose
files. The base one and the OS specific.app
service has been renamed tonginx
magento2-dockergento-console
repository has been removed and its code has been added directly into this repo.- Debug commands have been renamed to
debug-on
anddebug-off
app-volumes
service has been removed.- New images used for
nginx
andphp
modestcoders/nginx:1.13
modestcoders/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 setup
inside your project -
Edit volumes in
docker-compose.dev.mac.yml
as you had it before. -
Edit
nginx
configuration inconfig/dockergento/nginx/conf/default.conf
-
Edit
config/dockergento/properties
if needed.
- Easier install documentation using
dockergento setup
command - Set all configuration settings inside
config/dockergento
folder - Change
docker-compose.yml
filename todocker-compose.sample.yml
as this file needs to be copied and edited per project.
-
Set whole magento application in a named volume
magento
instead 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
vendor
andgenerated
volumes 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
generated
folder inunison container. Unison container is now only meant to be used for
watch` command inside vendor modules.
- Development workflow documentation
- Troubleshooting section with info about broken volumes
- Use updated node image with right user
app
by default - Use
modestcoders/php
image - Xdebug uses now
xdebug.remote_host=host.docker.internal
as it is defined onmodescoders/php
images
- Remove not needed
NPM_CONFIG_PREFIX
because default user is now app - Remove phpstorm xdebug
DBGp
configuration step that is no longer needed
- Use
modestcoders/unison:2.51.2
image for unison container - Update
markoshust/magento-php
images to PHP7.1
using tag7.1-fpm-3
- Update docker setup with fixes for node and integration tests
- Update dependencies and
app-volumes
configuration to avoid issues whenapp-volumes
is started several times in samedocker-compose up
execution - Execute Dockerfile run commands for
app-volumes
in only one layer as it is best practise - Update README with
node
andunison
commands to userun
instead ofexec
- Update
xdebug + phpstorm
documentation
- Use
modestcoders/node-php:node8-php7.0
image for node container