Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 754 Bytes

README.md

File metadata and controls

39 lines (28 loc) · 754 Bytes

Craft 3 CMS Docker-Compose Configuration

Requirements

Instructions

  • 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