TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How to Setup Your Own PaaS with Dokku and Node and React and Mongodb and Nginx

65 pointsby albertgaoover 6 years ago

9 comments

mimischiover 6 years ago
Dokku is great! If you&#x27;re not concerned running your apps&#x2F;database one the same node, you&#x27;re good. There are tons of plugins for different databases (MariaDB, PostgreSQL, MongoDB, ...), as well as other services like Let&#x27;s Encrypt. DigitalOcean also offers to install it when creating a Droplet, so it&#x27;s easy to get started. Manual installation is also straightforward. I&#x27;ve been using it for several years on former-HPC nodes in our University computing center to host small apps made by students.<p>To add to the example in the blog post, I&#x27;ve played around with containerizing Django with Docker and deploying it to Dokku (Heroku should also be possible I guess): <a href="https:&#x2F;&#x2F;github.com&#x2F;mimischi&#x2F;django-docker" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mimischi&#x2F;django-docker</a><p>It&#x27;s also possible to spin-up your own Sentry instance (open source error tracking) with Dokku (<a href="https:&#x2F;&#x2F;github.com&#x2F;mimischi&#x2F;dokku-sentry" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mimischi&#x2F;dokku-sentry</a>), as well as Minio, a simple S3 clone: <a href="https:&#x2F;&#x2F;github.com&#x2F;slypix&#x2F;minio-dokku&#x2F;issues" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;slypix&#x2F;minio-dokku&#x2F;issues</a>
ovi256over 6 years ago
Dokku seems like a good tool with good developper experience, equivalent to Heroku. It would allow you to quickly experiment. Want to setup a new web app &#x2F; service ? Heroku-like simplicity, just some clicks and a git push.<p>Anyone who has tried dokku&#x27;s postgres database solution ? Where to store state is IMO the big missing piece from these Paas tools. They solve the stateless compute part nicely (with Flynn you can even setup something Dokku-like on multiple servers with automatic failover) but there&#x27;s nothing offering automatic failover for a database that doesn&#x27;t require you to be a db admin.
评论 #19016419 未加载
评论 #19016398 未加载
block_daggerover 6 years ago
I’ve used Dokku in production for several months. For single-server app deploys, it works amazingly well.
sonaltrover 6 years ago
I recently found out that I could get a 2 GB &#x2F; 2 Core machine for ~ $15&#x2F;yr - and my plan is to buy a bunch of them (~ 150 - 200) to make my own cluster for my personal needs, learning and running some stuff I charge $ for.<p>One thing they didn&#x27;t mention was specifically MongoDB management - Backing up, restore etc.<p>Personally I was planning on using Nomad (or K8S if I could get into the GCP K8S Engine Hybrid Cloud Preview) to manage my clusters.
评论 #19018000 未加载
评论 #19017996 未加载
52-6F-62over 6 years ago
We use Dokku for a set of services (within a specific scope) at work.<p>I was highly sceptical of it at first, as I had preferred managing deployments on a lower level—and for some good reasons(similar criticisms with Heroku itself). That said, I have adapted and it&#x27;s been good. Once we had some customizations in place it worked out great. And the plugins are generally well-done. Very little is too obscured.
brylieover 6 years ago
I would like to use Dokku and not have to worry about the underlying software maintenance. Are there any companies offering Dokku as PaaS?
评论 #19016370 未加载
评论 #19017725 未加载
onlywickedover 6 years ago
Dokku is good but I prefer CaptainRover (previously CaptainDuckDuck).<p>It solves lots of problem I had with dokku in the past.
评论 #19019063 未加载
9devover 6 years ago
I looked at the Dokku website and despite even looking at the docs, I still have no clue what it actually <i>does</i>. I see that a lot with SaaS software or fancy OSS projects. Maybe it&#x27;s just my German attitude, but I don&#x27;t want to know how astounding and wonderful your product is, but what it does and how it works!
评论 #19016310 未加载
评论 #19019236 未加载
kekzzzover 6 years ago
Am I the only one around here who doesn&#x27;t even know what the heck &quot;PaaS&quot; is? All this WTFaaS is out of control...
评论 #19016325 未加载