Two standalone instances on one server?

EDIT: Some of these steps are unnecessary - see post below by @kraml

I now have my second Discourse instance running.

  1. Checked out the Discourse code into /var/[myforum]
  2. Took the content of standalone.yml from /samples and created /containers/[myforum].yml
  3. In /containers/[myforum].yml
  4. replaced all instances of /var/discourse with /var/[myforum] (e.g. volume configuration)
  5. set unique ports
  6. Ran ./launcher bootstrap [myforum].yml
  7. Ran ./launcher start [myforum].yml
  8. Added nginx config for the new domain

And it’s working perfectly first time. Another win for Discourse!