heroku-buildpack-borealis-pg-ssh VS Dokku

Compare heroku-buildpack-borealis-pg-ssh vs Dokku and see what are their differences.

heroku-buildpack-borealis-pg-ssh

[DEPRECATED] Use https://github.com/OldSneerJaw/heroku-buildpack-borealis-pg-tunnel instead. (by OldSneerJaw)

Dokku

A docker-powered PaaS that helps you build and manage the lifecycle of applications (by dokku)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
heroku-buildpack-borealis-pg-ssh Dokku
2 182
1 26,003
- 1.0%
0.7 9.9
over 1 year ago 1 day ago
Shell Shell
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

heroku-buildpack-borealis-pg-ssh

Posts with mentions or reviews of heroku-buildpack-borealis-pg-ssh. We have used some of these posts to build our list of alternatives and similar projects.
  • A Heroku add-on that puts a PostgreSQL DB in its own virtual private cloud
    1 project | /r/SideProject | 11 Mar 2022
    So how does an app connect? I wrote a Heroku buildpack to take care of that seamlessly (borealis/postgres-ssh). When you add the buildpack to an app, it automatically identifies any config variables from my add-on and sets up a persistent SSH local port forwarding connection to the database server using autossh. The app can then connect to the database via a standard PostgreSQL client library using the add-on's DATABASE_URL config variable without having to be aware of the SSH connection in any way. In other words, application code doesn't have to change at all to support it. If the app works with the first-party Heroku Postgres add-on, it should work with my add-on, too.
  • Show HN: PostgreSQL in a virtual private cloud on Heroku
    1 project | news.ycombinator.com | 10 Mar 2022
    Having used Heroku extensively at my previous job I became aware of what I perceived to be a major drawback of database add-ons in Heroku's marketplace: they all seem to allow connections directly from the public internet (or at least from anywhere on AWS's network) for the sake of convenience for app developers (and probably the add-on developers too!). That way, an app developer need only to retrieve the DB connection URL from the corresponding config variable (i.e. environment variable) in application code to connect to the DB. But leaving DB servers exposed to the whole world seems a clear violation of security best practices.

    Heroku has a solution to this problem, of course: Private Spaces. In a private space, your app's dynos and some of its add-ons are hosted together within a virtual private cloud (VPC) that is firewalled off from the rest of the internet. It comes with a couple important caveats, however: you have to have a Heroku Enterprise account (which is expensive and requires you to give up the option to use some of the cheaper dyno types) and it only supports a handful of select add-ons (only first party, it seems) to be sequestered within the app's VPC.

    My new add-on service aims to provide an alternative that sits somewhere between the extreme simplicity and relative inexpensiveness of DB add-ons running on the Common Runtime and the considerably more expensive Private Spaces while offering a similar level of security as Private Spaces. It's called Borealis Isolated Postgres and its in beta now (the beta is free): https://elements.heroku.com/addons/borealis-pg

    With my add-on, each DB server is in a PostgreSQL-compatible Amazon Aurora cluster isolated within its own VPC. All connections to a DB server are required to be forwarded through an SSH server that is dedicated to that VPC.

    So how does an app connect? I wrote a Heroku buildpack to take care of that seamlessly (https://github.com/OldSneerJaw/heroku-buildpack-borealis-pg-ssh). When you add the buildpack to an app, it automatically identifies any config variables from my add-on and sets up a persistent SSH local port forwarding connection to the database server using autossh. The app can then connect to the database via a standard PostgreSQL client library using the add-on's DATABASE_URL config variable without having to be aware of the SSH connection. In other words, application code doesn't have to change at all to support it. If the app works with the first-party Heroku Postgres add-on, it should work with my add-on, too.

    Connecting from your local machine or a CI server to a database server is also straightforward. I wrote a Heroku CLI plugin (https://www.npmjs.com/package/borealis-pg-cli) with a couple simple commands to either run DB scripts (e.g. DB migrations to be executed during CI/CD) or open a persistent tunnel locally (e.g. for ad hoc data administration). It also has a few commands for managing which PostgreSQL extensions/modules are installed since the app user does not have privileges to do so in SQL (remember, it's a managed DB service).

    During the beta all add-ons are provisioned in a multi-tenant environment to keep costs down, but when released into general availability, each premium add-on will operate in its own fully isolated VPC that is only accessible via private SSH server. I have not yet decided whether I will continue to provide a free, multi-tenant option after GA, though.

    If you're already a Heroku user, you can provision the add-on directly (for free) here: https://dashboard.heroku.com/provision-addon?addonServiceId=de00ba11-8b65-47cd-b099-9605703a6e30&planId=beb31eff-e2df-4750-b73a-29542c3dc79f

    Docs are here: https://devcenter.heroku.com/articles/borealis-pg#getting-started

    Let me know what you think!

Dokku

Posts with mentions or reviews of Dokku. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-29.
  • Open-source alternative to Heroku, Vercel, and Netlify
    9 projects | news.ycombinator.com | 29 Apr 2024
    Would be great to see a comparison to some better known alternatives like

    - Dokku [0]

    - CapRover [1]

    [0] https://dokku.com/

    [1] https://caprover.com/

  • Hosting old Node Projects 👴🏼
    1 project | dev.to | 25 Apr 2024
    If you want to dig into it anyways, Dokku is an interesting mention. They provide an Open Source PaaS that you can install on your server to simplify self hosting containers.
  • Deploy Node.js applications on a VPS using Coolify
    4 projects | dev.to | 20 Apr 2024
    When I came across Coolify, I thought of giving it a try. I am aware of Dokku, but I never really tried it because it doesn't have a UI. I work primarily as a UI developer, so having a nice UI to work with is a plus for me.
  • The Hater's Guide to Kubernetes
    6 projects | news.ycombinator.com | 3 Mar 2024
    I run all my projects on Dokku. It’s a sweet spot for me between a barebones VPS with Docker Compose and something a lot more complicated like k8s. Dokku comes with a bunch of solid plugins for databases that handle backups and such. Zero downtime deploys, TLS cert management, reverse proxies, all out of the box. It’s simple enough to understand in a weekend and has been quietly maintained for many years. The only downside is it’s meant mostly for single server deployments, but I’ve never needed another server so far.

    https://dokku.com/

  • Netlify just sent me a $104K bill for a simple static site
    12 projects | news.ycombinator.com | 26 Feb 2024
    Yeah there are a bunch of selfhostable things:

    Caprover (https://caprover.com/)

    Dokku (https://github.com/dokku/dokku)

    But people still choose Netlify and Vercel for ease of use I think.

    Maybe we need something that's just Netlify. The closest I've seen to the "right" UX is Ness:

    https://ness.sh

  • The 2024 Web Hosting Report
    37 projects | dev.to | 20 Feb 2024
    The modern iteration of these tools has taken the developer experience learnings from the Platform as a Service (PaaS) category, and will bring them to your own VM, giving you your own personal PaaS. Example of this include Dokku, Coolify, Caprover, Cloud66 and many more!
  • Ask HN: Is there an open source alternative to Digitalocean app platform?
    2 projects | news.ycombinator.com | 17 Oct 2023
  • Ask HN: How are you hosting multiple small apps?
    4 projects | news.ycombinator.com | 23 Sep 2023
    Based on the fact that your ideal is to have a similar experience to heroku than managing your own server setting up reverse proxies take a look at these options:

    1) https://dokku.com - lets you turn your light sail instance basically into heroku

    2) https://render.com

    3) https://fly.io

    4) If you have aws credits this is their heroku equivalent: https://aws.amazon.com/elasticbeanstalk

    above is not what I do but would be the options I would pursue if I understand your preference and requirement correctly.

  • The Best Way to Deploy Your Own Apps
    2 projects | dev.to | 14 Jul 2023
    All in all, I really recommend trying out Dokku if you are a developer interested in hosting your own projects. It makes it super easy to get everything you need to get up and running without having to worry about the specifics. And the price is impossible to beat!
  • Zero downtime deployments of containers on locally running server
    2 projects | /r/docker | 11 Jul 2023
    The installation instructions are on the frontpage of our site. Thats basically all you need to do to install Dokku. As far as using it, we have a simplified tutorial here.

What are some alternatives?

When comparing heroku-buildpack-borealis-pg-ssh and Dokku you can also consider the following projects:

python-poetry-buildpack - Heroku buildpack that makes it possible to use Poetry with the official Python buildpack

coolify - An open-source & self-hostable Heroku / Netlify / Vercel alternative.

custom-ssh-key-buildpack - :key: Add an SSH key to you Heroku dyno :key:

CapRover - Scalable PaaS (automated Docker+nginx) - aka Heroku on Steroids

Portainer - Making Docker and Kubernetes management easy.

Docker Compose - Define and run multi-container applications with Docker

swarmpit - Lightweight mobile-friendly Docker Swarm management UI

porter - Kubernetes powered PaaS that runs in your own cloud.

Docker - Notary is a project that allows anyone to have trust over arbitrary collections of data

piku - The tiniest PaaS you've ever seen. Piku allows you to do git push deployments to your own servers.

Docker Swarm - Source repo for Docker's Documentation

kubevela - The Modern Application Platform.