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