Come installare una seconda istanza di Discourse sullo stesso VPS?

Esegui semplicemente l’“installazione di 30 minuti” in una directory diversa da /var/discourse? Ci sono possibili conflitti che questo metodo potrebbe creare? Intendo utilizzare un secondo IP per il nuovo Discourse, un metodo che ho usato in passato per far funzionare WordPress e Discourse sullo stesso VPS; per me è molto meno complicato rispetto alla configurazione di un reverse proxy.

Grazie in anticipo.

Yes, you can use a second IP. You’ll need to modify app.yml so that it binds only to the correct IP, and then create a second app.yml (with a different name, of course). Howto bind discourse to a single IP address might help.

1 Mi Piace

Yeah, I have done that in the past. My question is whether installing a second instance is just as easy as git-cloning discourse into a /var/SecondInstance folder and then running ./discourse-setup from there. Do both instances of discourse interfere with each other? DO each have their own app.yml?

Anyone?

I could just go ahead and try it but I don’t want to ruin my currently working setup pf discourse+wordpress.

It’s easier to just create another xxx.yml in the same directory.