/docker-magento2

Ready to run docker containers for Magento2.

Primary LanguageDockerfileMIT LicenseMIT

Docker Magento2

Ready to run docker containers for Magento2.

Getting started

  1. Copy .env.dist to .env.
  2. Configure .env if you need.
  3. Copy .env, docker and docker-compose.yml to your magento2's root folder.
  4. Run docker-compose up -d.
  5. Open in your browser http://localhost:8080/ to access Magento2.
  6. Open in your browser http://localhost:8081/ to access PhpMyAdmin.

Useful tips

Running composer install

docker/console composer install

Running commands

docker/console bin/magento cache:clear

Get into the container

docker/console bash