Set up Discourse on a server with existing Apache sites

I cannot do that. There are important services on port 80 and 443. I started that docker-based install in the hope it won’t interfere with anything else.

So the graph now:

  1. Trying to install discourse in docker

  2. As Getting started suggests, started the linked readme.

  3. At whatever I’ve been bitten by:

     root@mercury MERCURY# ./discourse-setup 
     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 26716 root    4u  IPv6 2243472      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.
    
         ```
    
    
  4. Ok let’s see what the mentioned link offers:

    If you have not already, please read the Advanced Troubleshooting with Docker guide, as it covers the basics on the separation between host and container.

    Ok, going to that post…

    But where am I exactly? Just trying to setup discourse for port other than 80, and still have no clue how to do that. I still don’t have an app.yml yet. :disappointed:

1 Like