Live data from Hacker News

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

albertgao.xyz

1–10 of 32 posts

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

#2
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 / service ? Heroku-like simplicity, just some clicks and a git push.

Anyone who has tried dokku'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's nothing offering automatic failover for a database that doesn't require you to be a db admin.

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

#4
I looked at the Dokku website and despite even looking at the docs, I still have no clue what it actually does. I see that a lot with SaaS software or fancy OSS projects. Maybe it's just my German attitude, but I don't want to know how astounding and wonderful your product is, but what it does and how it works!

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

#6
post #4

I looked at the Dokku website and despite even looking at the docs, I still have no clue what it actually does . I see that a lot with SaaS software or fancy OSS projects. Maybe it's just my German attitude, but I don't want to know how astounding and wonderful your product is, but what it does and how it works!

You don't need to look farther than the homepage to get an idea of what Dokku does:

Once it's set up on a host, you can push Heroku-compatible applications to it via Git. They'll build using Heroku buildpacks and then run in isolated containers.

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

#7
post #5

Am I the only one around here who doesn't even know what the heck "PaaS" is? All this WTFaaS is out of control...

"SP 800-145. The NIST Definition of Cloud Computing" https://dl.acm.org/citation.cfm?id=2206223

The terms IaaS, PaaS and SaaS are defined under the "Service Models" section.

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

#9
Dokku is great! If you're not concerned running your apps/database one the same node, you're good. There are tons of plugins for different databases (MariaDB, PostgreSQL, MongoDB, ...), as well as other services like Let's Encrypt. DigitalOcean also offers to install it when creating a Droplet, so it's easy to get started. Manual installation is also straightforward. I've been using it for several years on former-HPC nodes in our University computing center to host small apps made by students.

To add to the example in the blog post, I've played around with containerizing Django with Docker and deploying it to Dokku (Heroku should also be possible I guess): https://github.com/mimischi/django-docker

It's also possible to spin-up your own Sentry instance (open source error tracking) with Dokku (https://github.com/mimischi/dokku-sentry), as well as Minio, a simple S3 clone: https://github.com/slypix/minio-dokku/issues

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

#10
post #2

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 / service ? Heroku-like simplicity, just some clicks and a git push. Anyone who has tried dokku'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 e…

We've been running a Dokku instance on a single node with PostgreSQL on the same host without any issues for years. It's been pretty solid for us.
Post reply on HN