What is the official recommended method to self host v6?

Hi everyone,

I remember reading somewhere that for future versions (6, 7 and beyond) Docker was going to be the official recommended method to self host Ghost. I am pretty sure I saw that on the official docs at some point, but it could have been on this forum or somewhere else, I am not 100% sure.

This came to mind again after reading this thread about the XSS vulnerability and Docker support.

So my question is, today, what is the recommended way to self host Ghost including things like Analytics and ActivityPub? Is it Docker, Ghost CLI, something else?

I am planning to migrate a really old WordPress site with thousands of articles, so I want to make sure I start on the right path from the beginning. Doing that kind of migration twice is not something I want to go through!

Any clarity on this would be really appreciated.

Thanks!

2 Likes

I would recommend the Docker install method as the forward-looking choice. Docker is a popular option for self-hosting and as discussed here on the forum, the Ghost CLI method doesn’t handle allowing to you self-host the Ghost ActivityPub or analytics services if you want to do that.

This morning in the official forum post about the security update, a Ghost staffer posted that “We’re actively working on improving when and how we release security updates to the Docker image.”

So I expect going forward we’ll see that situation improve and Docker support to exit “Preview”.

4 Likes

I’ve been using the docker method for around 2 years now. Its a solid method and updating is very straight-forward (albeit somewhat delayed since the container on dockerhub is a couple days behind of their pro hosting typically.) If youre just running a single instance follow the guide and youll be fine. I’m running around 15 different ghost instances so i have my processes broken out into different VMs,one for my db server which is one db instance and multiple dbs on it, one for the ghost server which is running multiple ghost containers, one for my proxy which is used for many different things outside of ghost, and another for the activitypub which i have set up to route all ghost instances through the single server since the activitypub server is multitenant. I’m not using the tinybird integration because i cant yet figure out how to get that running fully local and from what i can tell on the tinybird documentation, its not possible to run it completely local.

I’d recommend going ahead and setting up a server to get a feel for how it all works before you import and repoint dns records and such.