Question

Is it possible to install Ghost and Discourse in on droplet?

Posted December 12, 2020 212 views
Ghost

I’m still trying to wrap my head around how droplets work, as I’m coming from a WHM & cPanel experience. I just started to manage my first Ubuntu VPS for a client so the command line is doable.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
1 answer

Hi there @CheezBallz,

Yes it is possible to run multiple different services on the same server.

One important thing that you need to keep in mind is that you can not have multiple services listening on the same port. So if you start Discourse on port 8080 for example you should start Ghost on a different one.

Once you have the two services running on different ports, you can use Nginx as a reverse proxy so that you could map different domain names to each service and have the different applications accessible via ports 80 and 443.

I could suggest taking a look at this quick demo on how to run multiple Docker containers on the same server with Nginx:

Regards,
Bobby

  • Thanks, that’s helpful. I’d like to do a test build of Ghost with Discourse for discussion. Would different ports affect how the integration goes?

    Also wondering if I could install a email script and SMTP server on the same droplet, guessing the same principal regarding different ports would apply?