I’m confused by the installation instructions. Is there a way to scale discourse horizontally?
For ex: having 2+ docker containers on different servers each running discourse?
In the instructions from GitHub - discourse/discourse_docker: A Docker image for Discourse
The multiple container configuration setup is far more flexible and robust, however it is also more complicated to set up. A multiple container setup allows you to:
- Minimize downtime when upgrading to new versions of Discourse. You can bootstrap new web processes while your site is running and only after it is built, switch the new image in.
- Scale your forum to multiple servers.
- Add servers for redundancy.
- Have some required services (e.g. the database) run on beefier hardware.
If you want a multiple container setup, see the
web_only.ymltemplates in the samples directory. To ease this process,
launcherwill inject an env var called
DISCOURSE_HOST_IPwhich will be available inside the image.
Is there a place where I can find more info on how I can run the containers on different servers, and not many containers on the same server?