The ghost application has now code injection, which allows you to do what this repo does, so this repo is no more needed.
Ghost Dockerfile Fork
Base Docker Image
(alternatively, you can build an image from Dockerfile:
docker build -t="zedtux/ghost" github.com/zedtux/ghost)
docker run -d -p 80:2368 zedtux/ghost
docker run -d -p 80:2368 -v <override-dir>:/ghost-override zedtux/ghost
<override-dir> is an absolute path of a directory that could contain:
config.js: custom config file copied from here (you must replace
content/data/: persistent/shared data
content/images/: persistent/shared images
content/themes/: more themes
After few seconds, open
http://<host> for blog or
http://<host>/ghost for admin page.
This repository also apply the following patches:
- Google Analytics
In order to make it working you have to set the
GA_ID environment variable when you start the container.