I fail to see how docker-compose
would solve that problem – it won’t magically allow two processes to bind to the same port. Either way, you will need to set up a proxy that can route incoming requests.
The howto could certainly benefit from a section on how to proceed if Discourse is not already set up, but I currently don’t have the time to describe that properly. A short version boils down to this:
- Follow normal instructions, stopping just before executing
discourse-setup
. - Copy
/var/discourse/samples/standalone.yml
to/var/discourse/containers/app.yml
. - Fill in the necessary settings in
/var/discourse/containers/app.yml
. Be careful, you cannot test this yet! - Then continue with the howto, beginning with installing Nginx.