TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

65 点作者 albertgao超过 6 年前

9 条评论

mimischi超过 6 年前
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>
ovi256超过 6 年前
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_dagger超过 6 年前
I’ve used Dokku in production for several months. For single-server app deploys, it works amazingly well.
sonaltr超过 6 年前
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-62超过 6 年前
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.
brylie超过 6 年前
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 未加载
onlywicked超过 6 年前
Dokku is good but I prefer CaptainRover (previously CaptainDuckDuck).<p>It solves lots of problem I had with dokku in the past.
评论 #19019063 未加载
9dev超过 6 年前
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 未加载
kekzzz超过 6 年前
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 未加载