Multiple Ghost Blogs Using Docker

How do I create multiple blogs? What changes should I make in the config?

I used this article to set up my test blog site:

https://www.linode.com/docs/websites/cms/ghost/how-to-install-ghost-cms-with-docker-compose-on-ubuntu-18-04/

And I've seen other tutorials on the internet where some people are using Nginx container and some others are installing nginx directly on the host. Which method should I choose?

1 Reply

If you're going to be setting up multiple Ghost blogs on the same Linode, one instance of Nginx should do the trick. You'll just need to configure it for multiple Ghost instances.

I found this blog that shows you how to do it behind an Nginx-proxy image:

Host Multiple Websites On One VPS With Docker and Nginx

Nginx server blocks should work for you as well:

Nginx Configuration - Server Blocks

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct