How To Create Your Own Self Hosted Ghost Blog with Docker

Host your own blog in 2021 like me with Docker and Docker Compose using Ghost, NGINX and Letsencrypt. find out about day 2 functionality such as comments, Cloudflare and Automatic updates

1 min read
Cables connecting docker services for ghost blog
Wiring up a self hosted Ghost blog

Overview

So I decided to try and move my alexgallacher.com blog and a few other web pages and apps to a new faster, more secure service to decrease load times and to automate some of the updating and backup processes.

Here's the complete journey I went on and how I did it - enjoy!

The Goal

This how-to series focuses on dockerising and securing everything you need to self host and run a blazing fast Ghost blog.

This includes an NGINX reverse proxy and its Letsencrypt SSL Companion, Ghost itself and a Maria database.

Overarching Architecture

Overarching architecture for Ghost blog using Docker Compose, Nginx and Lets Encrypt
Overarching Architecture