Skip to content

autopilotpattern/ghost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Autopilot Pattern Ghost

This repo serves as a blueprint demonstrating Ghost designed for automated operation using the Autopilot Pattern.

DockerPulls DockerStars

Environment Variables

The Ghost container in this pattern supports the following environment variables. Other containers such as nginx and MySQL utilize their own environment variables as well.

  • CONSUL: consul hostname
  • DEBUG: used to control the Node.js debug module
  • LOG_LEVEL: control the amount of logging from ContainerPilot
  • MYSQL_DATABASE: the name of the MySQL database
  • MYSQL_PASSWORD: the password used to access the MySQL database
  • MYSQL_USER: the username used to access the MySQL database

Example Usage

$ cd examples/compose
$ docker-compose up -d
$ docker-compose scale ghost=3

Modifying this Pattern

This image extends the official ghost:1.6.1-alpine image. Ghost can be configured as needed by modifying etc/config.production.json.ctmpl, and then rebuilding the image.

About

Implementation of the Autopilot Pattern for Ghost

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published