Skip to content
This repository has been archived by the owner on Mar 30, 2024. It is now read-only.

Latest commit

 

History

History
63 lines (42 loc) · 1.55 KB

README.md

File metadata and controls

63 lines (42 loc) · 1.55 KB

Archived one can use adobe's Cloud Docker for Commerce video tutorial below

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

  • 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
    

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'