If you are into blogging, there are so many blogging platforms to choose from nowadays but you can’t get away from WordPress to start with. Based on
W3techs article, WordPress has more than 60% of market share. I’ve already covered installing WordPress in my previous article. It is no doubt the easiest platform to use but as there are so many users, even if you can customize the theme, you still lose some uniqueness of your personal blog. Today I want o talk about another platform - Ghost.
My first impression of Ghost is similar to this post.
A blogging platform which is just for blogging? Having a neat markdown editor? This amazing dashboard? SEO right out of the box? Ways to extend via plugins and themes? Oh boy, John, you got me sold.
Please find file structure as below, let’s get started.
Let’s create the folder and files first.
mkdir -p ghost-blog/ghost/content
Next, let me post my
Please note, my
docker-compose.ymlis meant to be used with my Traefik configurations. It might not work with your set ups. You can find my Traefik configuration at this link
You can find all configurations from official website. I want to cover some important ones in my settings.
I set my blog in productions environment hence I need to load
- Here is the content my
config.production.json. The only thing you need to change is
- (optional) If you invite another author with above config, the invitation will be sent from
firstname.lastname@example.org. If you want to change this default email address or the sender’s name, you can config your own email. Example below:
If you follow my config exactly, now you just need to run
docker-compose up -d to deploy your ghost blog.
Thanks for reading, see you next time.