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
Usage
- Checkout this repository
- Copy your magento sources in
src/magento
dir with auth.json - Install docker using official guidelines
- Install docker compose using the same guidelines
- Install mutagen
- Run
./mdev up ./mdev init ./mdev install
Tutorial in video
To stop and (re)start existing project
- Run
./mdev stop ./mdev up
Default credentials
admin-user=admin
admin-password=123123q
Run command line in container
E.g disable two factor auth modules
./mdev exec app bash -c ' bin/magento module:disable Magento_TwoFactorAuth Magento_AdminAdobeImsTwoFactorAuth'