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
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!
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:
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.