I want to install Discourse, but before installation I want to ask few things.
I have already Postgress database on dedicated vm and I can access that postgress database in my docker containers. I also have a nginx running on a separate vm and that nginx can also access dockers exposed ports.
So I want a very simple installation of discourse without any database, nginx, redis etc so my goal is a very simple discourse docker installation. So would you please help me what exact I need to do. Where I need to set the postgress database ip, username and password.
10.0.0.20 = Postgress machine
10.0.0.21 = Nginx machine
10.0.0.22 = A machine with Docker Installation and already running some container with docker default network (172.17.0.1)
I already have running 2 containers of nodejs app on my Docker Machine with 3001 and 3002 port
And from my nginx I am using proxy pass and send the traffic on these ports e.g.
Now I want to launch a Discourse container on my docker machine with port e.g 3003 and then from nginx I can send traffic on this container for my domain e.g discourse -> 10.0.0.22:3003
I don’t think that would be the case!
On the contrary, there’s a considerable amount of added performance by running data separately. There are even tutorials about it: