Sign inSign up

zedtux/ghost

By zedtux

•Updated about 9 years ago

Image
0

1.2K

zedtux/ghost repository overview

⁠DEPRECATED

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

This repository contains Dockerfile of Ghost⁠ v0.11.x series for Docker⁠'s automated build⁠ published to the public Docker Hub Registry⁠.

⁠Base Docker Image
⁠Installation
  1. Install Docker⁠.

  2. Download automated build⁠ from public Docker Hub Registry⁠: docker pull zedtux/ghost

    (alternatively, you can build an image from Dockerfile: docker build -t="zedtux/ghost" github.com/zedtux/ghost)

⁠Usage
docker run -d -p 80:2368 zedtux/ghost
⁠Customizing Ghost
docker run -d -p 80:2368 -v <override-dir>:/ghost-override zedtux/ghost

where <override-dir> is an absolute path of a directory that could contain:

  • config.js: custom config file copied from here⁠ (you must replace 127.0.0.1 with 0.0.0.0)
  • 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.

⁠Patches

This repository also apply the following patches:

  • Google Analytics
⁠Google Analytics

In order to make it working you have to set the GA_ID environment variable when you start the container.

Tag summary

Content type

Image

Digest

sha256:cc17851bb…

Size

137.2 MB

Last updated

about 9 years ago

docker pull zedtux/ghost