Following the tutorial at https://github.com/markshust/docker-magento
curl -s https://raw.githubusercontent.com/markshust/docker-magento/master/lib/template | bash
bin/download 2.4.6-p3 community
--amqp-host=rabbitmq \
--amqp-port=5672 \
--amqp-user=admin \
--amqp-password=YjJiOTY0NDAxNWRkNmI1Y2Yx \
--amqp-virtualhost=DSrabbitmq \
rabbitmq:
image: rabbitmq:3.7-management-alpine
ports:
- "15672:15672"
- "5672:5672"
volumes:
- rabbitmqdata:/var/lib/rabbitmq
environment:
- RABBITMQ_DEFAULT_USER=admin
- RABBITMQ_DEFAULT_PASS=YjJiOTY0NDAxNWRkNmI1Y2Yx
- RABBITMQ_DEFAULT_VHOST=DSrabbitmq
- RABBITMQ_VM_MEMORY_HIGH_WATERMARK=1024MB
src: https://github.com/markshust/docker-magento/issues/426
bin/setup 127.0.0.1
Cannot disable Magento_TwoFactorAuth because modules depend on it:
Magento_AdminAdobeImsTwoFactorAuth: Magento_AdminAdobeImsTwoFactorAuth->Magento_TwoFactorAuth
Open Mailcatcher 127.0.0.1:1080/ to configure Magento_TwoFactorAuth
docker exec -it docker-magento2-app-1 sh
src folder
User: magento
Password: magento
MAGENTO_ADMIN_USER=john.smith
MAGENTO_ADMIN_PASSWORD=password123
docker-compose start
docker-compose stop