GHOST with MySQL DB
Why yet another container for Ghost?
The official container for Ghost is fine for running in development mode, but it has the wrong
permissions for running in production. That, and the config file doesn't have any easy way to tweak
This container uses the official Ghost image as it's base, has a more "environment aware"
config.js file, and uses these environment variables to tune the config.
docker build .
docker hub image
Create a project
oc new-project ghost
Openshift add template
oc create -f ghost.json -n openshift
Create an app using template
oc new-app ghost.json
There are three environment variables that can be configured:
GHOST_URL: the URL of your blog (e.g.,
MAIL_USER: username on mailgun account
MAIL_PASSWORD: password on mailgun account
Please visit this
http://support.ghost.org/mail for mailing details.