Is it as simple as:
- Setting different ports in app.yml:
## which TCP/IP ports should this container expose? expose: - "8001:80" # fwd host port 80 to container port 80 (http) - "2222:22" # fwd host port 2222 to container port 22 (ssh)
Where 8001 is different for each Discourse forum, so 8002, 8003, etc (And then HAproxy direct the traffic to the relevant ports per domain).
- install each Discourse in its own directory:
## These containers are stateless, all data is stored in /shared volumes: - volume: host: /home/site1/apps/discourse/shared/standalone guest: /shared - volume: host: /home/site1/apps/discourse/shared/standalone/log/var-log guest: /var/log
Where site1 reflects each site, so site2, site3 etc.
- and then you install Discourse as normal, in the above case, in
…Or is it more involved than that?