- Images
webdevops/php-apache
mysql:5.6
- To properly configure Craft CMS to Docker run command:
$ composer create-project craftcms/craft web- Create the environment file (.env) and add database settings
$ cd web DB_SERVER="mysql"
DB_USER="root"
DB_PASSWORD="adminpwd"
DB_DATABASE="craftdb"- Spin up new Docker containers:
$ docker-compose up -d- Install Craft CMS and Done
http://localhost:8805/index.php?p=admin