yum groupinstall "Development Tools"
yum install git wget
On your CentOS machine install Docker. Redirecting…
Clone the Discourse repo:
git clone GitHub - discourse/discourse_docker: A Docker image for Discourse /var/discourse
cp samples/standalone.yml containers/app.yml
Set the ports to 8081:80 and 2222:22 for your first instance. Configure all other Discourse app settings and write, quit by typing :wq!
./launcher bootstrap app
./launcher start app
Multiple instances can be added later, follow a conventional numbering scheme for your ports and you will be able to effectively serve Discourse virtual hosts through Virtualmin proxy hosts.
Install Virtualmin GPL:
chmod +x install.sh
Wait for this to finish, then log into your Virtualmin site https://your-host.com:10000/ login root / pw [your-root-pw]
Create a new virtual server with the domain name you have pointed at your server (discourse.locl.ca for me). Click on the Server Configuration menu (image 1) and choose the Edit Proxy Website link. Point the proxy from Virtualmin to the Discourse url that you configured when you bootstrapped your instance.
Rinse, repeat for additional domains pointing at your server.