Second discourse instance on the same server

(Carlo Kok) #1

I’ve looked through forum a bit but can’t find it. If I want to start a second instance of discourse on my docker install, should be it enough to copy/paste app.yml to say app2.yml, change the hostname, expose settings (we use nginx in front of it) and the host paths?

Note that I don’t want to mess with my existing install, I just want another one next to it, if possible.

0 Likes

(Bhanu Sharma) #2

It is totally Possible!

4 Likes

(Sam Saffron) #3

Depending on what you are after (do you want to share plugins or not). If you need a second dedicated instance with different plugins you will need to expose a different port from the new container and then run a load balancer in front like HAProxy.

4 Likes

(Carlo Kok) #4

If I want different plugins I take it just need to clone the whole thing, separate everything?

0 Likes

(Sam Saffron) #5

Yeah, plus running a load balancer

4 Likes

(system) closed #6

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

0 Likes