How can I run multiple ghostv6/caddy/activitypub instances using Docker?

I love the most recent Docker install method for running Ghostv6/Activitypub, it is so easy to install/ update. It works well with my primary domain/website, I love the simplicity of it.
I used the instructions on How To Install Ghost With Docker (preview) - Ghost Developer Docs

I want to add a second Ghostv6 instance in a different directory via a similar Docker install.
If I try adding a second instance using the Ghost documentation, it will lead to port conflicts as ports 80/443/2368/8080 will already be in use.

Does anyone have an example yaml file for running multiple instances of Ghost/Activitypub/Tinybird using Caddy and Docker ?

You need to learn a bit on how Docker works and how to use it.

It’s a really basic setting, just put another port before : and use it in your reverse proxy.

1 Like

To elaborate:

80:80

Change to:

81:80

etc.

1 Like