Docker infrastructure for Magento development
A magento docker devbox that takes 5min to lean and 3 min to start (tested on linux and mac)
Inspired by https://github.com/kandy/dev-docker
- clone this repository
mkdir -p src/magento
- Copy the content of your magento project (files in the root directory) in
src/magento
and don't forget the auth.json - Install docker using official guidelines
- Install docker compose using the same guidelines
- Install mutagen
- Run
./mdev up ./mdev init ./mdev install
- Run
./mdev stop ./mdev up
admin-user=admin
admin-password=123123q
E.g disable two factor auth modules
./mdev exec app bash -c ' bin/magento module:disable Magento_TwoFactorAuth Magento_AdminAdobeImsTwoFactorAuth'