Skip to content

darron/docker-ghost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker-Ghost

This repository is made to run Ghost in Docker, the Dockerfile installs Node.js and NPM, adds Ghost to the image and runs Ghost in a development environment.

IP configuration

I've changed the standard IP on which the Ghost dev environment runs to 0.0.0.0 to make it bind with any IP, the normal setting is 127.0.0.1, you can change this in the config.example.js added in this repository.

Running Docker-Ghost

Git clone the repository:

git clone [email protected]:livebytes/docker-ghost.git

Install Docker using the Docker documentation that you can find here: https://www.docker.io/gettingstarted/

Pull the ubuntu Docker:

sudo docker pull ubuntu:12.10

Build the ghost-docker (execute command below in the folder you cloned the repository to):

sudo docker build -t ghost .

Run the ghost-docker:

sudo docker run -d ghost

Find which port your instance is exposed to:

sudo docker port container-id 2368

Point your webbrowser to:

http://serverip:port

Adding your user to Ghost

Follow the manual provided by Ghost, for further installation: http://docs.ghost.org/

About

Dockerfile for Ghost (www.ghost.org)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published