Skip to content

orchardup/docker-ghost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-ghost

Run Ghost with Docker:

$ docker run -d -p 2368:2368 -e GHOST_URL=http://my-ghost-blog.com orchardup/ghost

Your Ghost blog will be running on http://127.0.0.1:2368.

Running on Orchard

To host Ghost on Orchard (replace myapp with a name of your choice):

$ orchard apps create myapp
$ orchard -a myapp docker run -d -p 80:2368 -v /data -e GHOST_URL=http://my-ghost-blog.com orchardup/ghost

Run orchard -a myapp docker ps to get the IP address it is running on.

Configuration

This image can be configured with environment variables:

  • GHOST_URL: The url to use when providing links to the site, E.g. in RSS and email.

Caveats

You will lose your uploads if you upgrade Ghost by replacing the image. This is because there is no way of specifying an upload directory for Ghost yet, but they're working on it. The database is saved in a volume called /data so it will persist just fine.

Releases

No releases published

Packages

No packages published