Question

Install Discourse as Web App Component

Exploring different implementation methods and had a question about using web app components.

I’m currently playing around with deploying Discourse and followed the tutorial for deploying Discourse to a Droplet here, which deployed successfully: https://marketplace.digitalocean.com/apps/discourse

But now I’m curious if I could more tightly integrate this deployment with my existing App which currently has two web components and a managed DB cluster. Would it be as easy as it sounds to just connect the Discourse github for a web component in my existing Web Application? Or would that be incorrect for some obvious reason?

I’m mainly asking to gain a better understanding as infra is a bit out of my comfort zone


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Bobby Iliev
Site Moderator
Site Moderator badge
May 19, 2024
Accepted Answer

Hi there,

The DigitalOcean App Platform supports running Ruby apps, however, the official Discourse documentation recommends always using Docker:

https://github.com/discourse/discourse/blob/main/docs/INSTALL.md

Mainly this part here:

Hosting Rails applications is complicated. Even if you already have Postgres, Redis and Ruby installed on your server, you still need to worry about running and monitoring your Sidekiq and Rails processes, as well as configuring Nginx. With Docker, our fully optimized Discourse configuration is available to you in a simple container, along with a web-based GUI that makes upgrading to new versions of Discourse as easy as clicking a button.

Based on that, it might be quite complex to get it all up and running without doing a lot of configuration. You can take a look at their official guide here:

https://github.com/discourse/discourse_docker

It includes a lot of containers and components that would need to be configured. Especially around the different containers that they have.

Based on all that, the most straightforward solution here is to use the 1-Click image from the Marketplace.

Best,

Bobby

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more