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.

(Bhanu Sharma) #2

It is totally Possible!

(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.

(Carlo Kok) #4

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

(Sam Saffron) #5

Yeah, plus running a load balancer