Publishing multisite

discourse/INSTALL-cloud.md at master · discourse/discourse · GitHub I read the post on the link and set up 1 site.

git clone https://github.com/discourse/discourse_docker.git /var/discourse2

If I install it to the discourse2 folder and run the command ./discourse-setup, will the site be installed?
Do I have to do anything with the nginx port?

Port 80 appears to already be in use.

This will show you what command is using port 80
COMMAND    PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
docker-pr 1241 root    4u  IPv4  26166      0t0  TCP *:http (LISTEN)
docker-pr 1247 root    4u  IPv6  26172      0t0  TCP *:http (LISTEN)

If you are trying to run Discourse simultaneously with another web
server like Apache or nginx, you will need to bind to a different port

See https://meta.discourse.org/t/17247

If you are reconfiguring an already-configured Discourse, use 

./launcher stop app

to stop Discourse before you reconfigure it and try again.

No.

See Multisite configuration with Docker and Multisite Configuration with Let’s Encrypt and no reverse proxy.

You can also run multiple containers (copy app.yml, not all of Discourse) with a reverse proxy in front.

You can’t use discourse-setup. It’s just for very simple installations.

2 Likes