The purpose of this repo is to provide an easy and repeatable way to customize a ghost install.
Any themes, settings, routes, redirects, ect will be written to the ghost install as if it was in the ghost root directory. This is useful because a ghost install may require some setup and switching providers would only require a image pull.
You can test out a ghost install on your local machine, for example and deploy to a virtual machine or a rasberry pi for production.
-
Install Docker.
-
docker run -p 80:80 behoyh/ghost
(alternatively, you can build an image from Dockerfile:
docker build -t="behoyh/ghost" github.com/behoyh/ghost
)
Add override files in the /data directory of the repo. Treat this as the root ghost folder. If you'd like to override content/data place a content folder like so:
(yes, it's a bit unintuitive to place /content/data
in /data
)
docker run -p 80:80 behoyh/ghost
After few seconds, open http://<host>
for blog or http://<host>/ghost
for admin page.