Skip to content
No description, website, or topics provided.
Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
craft3
.gitignore
README.md
docker-compose.yml
setup-craft.sh

README.md

Prerequisites

  • Docker
  • Docker compose
  • the unzip and curl commands if you want to use the setup script

Automatic Craft download and configuration

This will download the latest version

  • run ./setup-craft.sh

Manual Craft download and configuration

  • Download the Craft version you would like to run, place it in a subfolder called source relative to the docker-compose.yml file.
  • Change/update source/craft/config/db.php with the following values:
    • server: db
    • user: root
    • password:
    • database: craft

How to start docker compose

  • docker-compose up
  • open http://localhost

If you decide to customize, the nginx root directory is: /app/html

Docker images used:

Known issues

Docker for Mac has an issue with shared files; rendering file access slow

You can’t perform that action at this time.