/docker-magento2

Fork from https://github.com/ojhaujjwal/magedock.git

Primary LanguageDockerfileMIT LicenseMIT

Magedock

Magedock helps you run your magento on Docker real quick. It's like laradock but for Magento instead of Laravel.

Installation

Let's see how easy it is to install NGINX, PHP, Composer, MySQL and Redis. Then run Magento.

  1. Get Magedock inside your Magento project:
git submodule add https://github.com/damianfabian/docker-magento2.git
  1. Copy local.env.sample to local.env and modify it to your needs.
  2. Enter the magedock folder and run only these Containers:

docker-compose up -d nginx mysql redis

  1. docker-compose exec workspace magento-installer
  2. Open your browser and visit the localhost: http://localhost