The discussion revolves around setting up multiple containers for a Discourse forum. Silvanus is having issues with a setup involving three separate containers, one for the current forum and two for archive forums. Each container has a unicorn, but Silvanus is unsure if this is the correct approach and is experiencing errors.
PFaffman recommends having one container with Redis and Postgres, and a second with the web server. If multiple web containers are used, an external Nginx reverse proxy would be needed. A single multisite server would be easier to manage.
Silvanus shares their Nginx configuration, which appears to be working for at least two of the forums. The discussion is ongoing, with the goal of resolving the issues and finding the best approach for the multiple container setup.
I gave the archive forums one unicorn, the current only one, but I’m running into a thought: can I really be doing this out of the box like this? Are all containers running redis & sidekiq in a way that messes it up royally? Or should I somehow link the two archive containers to the first one and so on? Because now after restore I’m getting this message:
Oops
The software powering this discussion forum encountered an unexpected problem. We apologize for the inconvenience.
Detailed information about the error was logged, and an automatic notification generated. We’ll take a look at it.
No further action is necessary. However, if the error condition persists, you can provide additional detail, including steps to reproduce the error, by posting a discussion topic in the site’s feedback category.
I understood from the multisite topic that there should be two separate containers when doing multisite, but I never quite understood what is meant by data and web containers. Does this mean that data containers is the only one using sql and web redies & sidekiq or what?
I’m a quick learner and a bit learned when it comes to this stuff, but can’t really say I’m a sysadmin.
The recommendation is that you have one container with redis and Postgres and a second with the web server. If you have two web containers then you’ll need to have another external nginx reverse proxying to the web containers. It’ll be easier to have a single multisite server.