Magedock helps you run your magento on Docker real quick. It's like laradock but for Magento instead of Laravel.
Let's see how easy it is to install NGINX
, PHP
, Composer
, MySQL
and Redis
. Then run Magento
.
- Get Magedock inside your Magento project:
git submodule add https://github.com/damianfabian/docker-magento2.git
- Copy local.env.sample to local.env and modify it to your needs.
- Enter the magedock folder and run only these Containers:
docker-compose up -d nginx mysql redis
docker-compose exec workspace magento-installer
- Open your browser and visit the localhost:
http://localhost