This is a simple docker-compose ghost project that allows you to quickly get up and running with Ghost and volumes mounted to the host so you can store your theme, images, and databases locally.
Wrapping Ghost into a Docker compose file automatically injects alot more funtionality. We will build upon this project to build High Availability, seperate data containers, and finally continous deployment and continuous integration
Before you get started be sure to install the latest versions of docker engine and docker-compose. Next clone this repo to your docker host and follow the configuration steps below.
- Edit the docker-compose.yml with your project information (URL, Host Directory Paths, etc)
- Edit the config.js with your database paths in the database section in both Production and Development sections
- Edit the Dockerfile with your URL information
Once you've edited the configuration files you are ready to get started. Run the below command which will build your Ghost blog.
docker-compose up