How to install Wordpress and Discourse together? (Ubuntu)

Docker can be used to run applications other than Discourse. There is a preconfigured WordPress docker container here:

That can run alongside Discourse, then you follow the guide for running other websites on the same machine as Discourse and set up nginx on the host to serve the two subdomains (or Traefik in another container if you’re adventurous).