THIS IS NOT FOR PRODUCTION USE
docker-compose.yaml
db:
image: wwright/magento2-db
volumes:
- mysqldb:/var/lib/mysql
ports:
- "3306:3306"
environment:
- MYSQL_ROOT_PASSWORD=password123
- MYSQL_DATABASE=magento
docker run wwright/magento2-db
port 3306
adminuser: root
password and initial catalog are set via the Environment variables.
Override with volume mount
etc/mysql/mysql-config.cnf:/etc/mysql/conf.d/mysql-config.cnf
Content type
Image
Digest
Size
151.3 MB
Last updated
about 6 years ago
docker pull wwright/magento2-db