Skip to content

dpdexter/expressionengine-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExpressionEngine with Docker

A script to setup an ExpressionEngine site with Docker and Docker Compose. I wrote and tested this on my MacBook....

Pre-requisites

  • Docker
  • Docker Compose
  • Mysql client
    • Not a requirement for setup since MySQL is running in a container, but the startup and dump scripts rely on mysql and mysqldump locally.
    • I use brew for all things Mac related.

Usage

  • clone repo
  • To setup the inital project from terminal run:
    • ./init.sh
  • To download the database:
    • ./data/dbdump.sh
  • To inport the downloaded database on startup
    • ./data/startup.sh

IMPORTANT

Because we are using docker to communicate between containers you must use the MySQL Host name output at the end of the script to configure ExpressionEngine.

Goodies to clean up during testing

  • Clean up containers
    • docker rm -f $(docker container ls -qa)
  • Clean up files
    • rm -rf downloads/ data/ public/ system/ build/docker-compose.yml

About

Boilerplate for an EE site for local development.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published