docker-compose> v1.20
- Install Docker for Mac
- Download a copy of Craft 2 and unzip it into
web, overwriting the placeholdercraftandpublicfolders therein. - Run
docker-compose up - Open http://localhost:8080 in your browser.
- Set your DB credentials in
web/craft/config/db.phpto the following:
'server' => 'db',
'database' => 'craftcms',
'user' => 'docker',
'password' => 'docker',