This repo serves as a blueprint demonstrating Ghost designed for automated operation using the Autopilot Pattern.
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 hostnameDEBUG
: used to control the Node.jsdebug
moduleLOG_LEVEL
: control the amount of logging from ContainerPilotMYSQL_DATABASE
: the name of the MySQL databaseMYSQL_PASSWORD
: the password used to access the MySQL databaseMYSQL_USER
: the username used to access the MySQL database
$ cd examples/compose
$ docker-compose up -d
$ docker-compose scale ghost=3
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.