Adding dokku to a Ghost droplet

Posted September 6, 2014 2.4k views

I’ve set up a ghost droplet and pointed a domain to it.

Now I’d like to get a bit more serious and have my site under source control and use an editor other than nano to make changes to it.

I had a ghost blog working on heroku and then made the mistake of trying to update the version and as so many folks seemed to be down on heroku for hosting the ghost blog I found myself here. I want to keep a similar deployment pattern that I have there for another site ‘git push digitalocean master’ or something there abouts. What I actually do there is Bitbucket->Codeship->heroku

As I haven’t really added any content yet to the ghost blog would it be better for me to delete that droplet and start over with a dokku droplet and then add ghost to it?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

If you haven’t added any content yet, you’re best bet will be to start over on a Dokku droplet. If you were to install Dokku on the Ghost droplet, you wouldn’t actually be using the preinstalled Ghost blog since Dokku runs your app inside of a Doker container.

You’ll also need to make a choice about how you want to handle persistent storage using a Dokku plugin. Check out this blog post on setting up Ghost on Dokku. It should help point you in the right direction.

by Justin Ellingwood
Dokku is a deployment tool that allows you to quickly get your app off the ground in a production environment. In this guide, we will discuss how to take advantage of Dokku's plugin system in order to extend the functionality of the core application. This will allow you to add database access to your applications, and provide you with additional deployment options.