Hello!
Say I wanted to run two separate communities on the same VPS, what would be the best way to go about it?
Any advice will be much appreciated!
Cheers ![]()
A user, Clement2005, is seeking advice on running two separate Discourse communities on the same VPS. Canapin provided a link to a multisite configuration guide. Clement2005 asked if installing two separate containers would be a viable solution, which itsbhanusharma confirmed, advising to modify directory mappings and other tweaks in the yml files. pfaffman pointed out the need for a reverse proxy, a two-container install, and sufficient RAM (at least 2GB, preferably 4GB). He also warned that this setup is advanced and may not be cost-effective compared to using two small VMs. Clement2005 appreciated the advice, finding pfaffman’s comment to be particularly insightful.
Hello!
Say I wanted to run two separate communities on the same VPS, what would be the best way to go about it?
Any advice will be much appreciated!
Cheers ![]()
Good luck! ![]()
Alrighty thanks ![]()
This may be a silly question but can’t you just install two separate containers for each?
Yes you can. read the contents of the yml files for hints. you want to change directory mappings and some other tweaks.
You’ll need a reverse proxy if you have two containers. You’ll want to do a two container install so that you have only one postgres running. You’ll need at least 2gb to do it, though 4 might be better, so if you hope this will save money over a single 1gb vm, you’re better off just using two small vms.
It’s an advanced setup, so if you’re not already familiar with a two container install, it’s going to be some work.
The multisite topic has some hints about setting up multiple databases.
This pretty much sums it up for me.
Thanks bud ![]()