roura/magento2.1

By roura

Updated about 8 years ago

Magento 2.1 Dockerfile

Image
0

487

roura/magento2.1 repository overview

Magento 2.1.x Dockerfile

Docker build

Magento 2 installation made easy

After running this Dockerfile you will have an environment tailored for Magento 2.1.x:

  • Debian Jessie
  • PHP 7.0
  • Apache 2.4
  • Magento 2.1.x
  • Mageplaza Blog
  • Mageplaza Banner Slider
  • Composer
  • Node
  • Grunt

Requirements

Before running the container for the first time, you should prepare the following environment variables:

  • $MYSQL_HOST
  • $MYSQL_USER
  • $MYSQL_PASSWORD
  • $MYSQL_DATABASE

You'll need a database running on MySQL 5.6+, as this container only has the web service.

How to run
  • Add magento2.docker at the end of your /etc/hosts file (i.e., 127.0.0.1 magento2.docker)
  • Run docker-compose build && docker-compose up -d
  • SSH into the container and run the installation as per how-to of Magento. (/var/www/html/bin/magento setup:install)
  • Visit your newly-created magento2.docker

Tag summary

Content type

Image

Digest

Size

1.2 GB

Last updated

about 8 years ago

docker pull roura/magento2.1