cp sample/env .env
Edit the .env file information if necessary
Create compose.override.yml file if necessary to override the main compose.yaml file
cp sample/docker-compose.override.yml docker-compose.override.yml
cp sample/php-map .php-map
Edit .php-map with format: <project>:<php_service>
Ex.:
magento1:php74
magento2:php81
See sample env.php
file: env.php
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
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="/"