Skip to content

coastwise/ghost

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Ghost Dockerfile

This repository contains Dockerfile of Ghost for Docker's trusted build published to the public Docker Registry.

Dependencies

Installation

  1. Install Docker.

  2. Download trusted build from public Docker Registry: docker pull dockerfile/ghost

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

Usage

docker run -d -p 80:2368 dockerfile/ghost

Customize Ghost by attaching override directory

docker run -d -p 80:2368 -v <override-dir>:/ghost-override dockerfile/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/themes: more themes
  • or anything else you want to override...

After few seconds, open http://<host> for blog or http://<host>/ghost for admin page.

About

Ghost Dockerfile for Trusted Builds.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%