Skip to content

ioancatanoaiaosf/docker-magento2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 

Repository files navigation

Docker Magento 2.4.X Open Source (CE) 10-2020

Docker containers for Magento 2.4.x development including :

  • PHP 7.4
  • Apache 2.4
  • MYSQL 5.7 / 8
  • Varnish 6 FPC
  • RabbitMQ
  • PhpMyAdmin
  • memcached
  • ELASTIC search 7.x
  • REDIS Session, System, FPC
  • Scaleable php-apache service

Installation

  1. git clone https://github.com/gaiterjones/docker-magento2

  2. EDIT .env

  3. docker-compose build

  4. docker-compose up -d

  5. Install sample data

    docker exec -i -t --user magento magento2_php-apache_1 install-sampledata

  6. Install Magento

    docker exec -i -t --user magento magento2_php-apache_1 install-magento

  7. Disable 2FA for testing

    docker exec -i -t --user magento magento2_php-apache_1 bin/magento module:disable Magento_TwoFactorAuth

Test

More

https://blog.gaiterjones.com/docker-magento-2-development-deployment-php7-apache2-4-redis-varnish-scaleable/ for further deployment instructions.

MAGENTO2 INSTALL

for PHP 7.1.32 use gaiterjones/magento2:2.3.0_PHP7.1
for PHP 7.3 use gaiterjones/magento2:2.3.5
for PHP 7.4 use gaiterjones/magento2:2.4.1

Packages

No packages published

Languages

  • PHP 44.4%
  • Dockerfile 26.4%
  • VCL 16.1%
  • Shell 13.1%