Skip to content

thaomaniac/docker-multi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Multiple Magento 2

Compose configuration

Create the .env file

cp sample/env .env 

Edit the .env file information if necessary

compose.override.yml file

Create compose.override.yml file if necessary to override the main compose.yaml file

cp sample/docker-compose.override.yml docker-compose.override.yml 

PHP Project customization

Map php service to project

cp sample/php-map .php-map 

Edit .php-map with format: <project>:<php_service>

Ex.:

magento1:php74
magento2:php81

Magento configuration

See sample env.php file: env.php

Configure Redis

Reference: Use Redis for default cache
Example command

bin/magento setup:config:set --cache-backend=redis --cache-backend-redis-server=redis --cache-backend-redis-db=0

Configure RabbitMQ

Reference: Message broker: Configure RabbitMQ
Example command

bin/magento setup:config:set --amqp-host="rabbitmq" --amqp-port="5672" --amqp-user="admin" --amqp-password="admin" --amqp-virtualhost="/"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published