heroku-buildpack-nodejs VS Dokku

Compare heroku-buildpack-nodejs vs Dokku and see what are their differences.

Dokku

A docker-powered PaaS that helps you build and manage the lifecycle of applications (by dokku)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
heroku-buildpack-nodejs Dokku
26 182
1,296 26,065
0.8% 0.7%
8.8 9.9
2 days ago 6 days 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-nodejs

Posts with mentions or reviews of heroku-buildpack-nodejs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-07-25.
  • Hosting a react app with apollo client database
    1 project | /r/graphql | 10 Nov 2022
    No default language could be detected for this app. HINT: This occurs when Heroku cannot detect the buildpack to use for this application automatically. See https://devcenter.heroku.com/articles/buildpacks
  • No default language detected when deploying.
    1 project | /r/Heroku | 29 Jul 2022
    Choose a buildpack explicitly https://devcenter.heroku.com/articles/buildpacks
  • The future of React projects on Heroku
    5 projects | /r/react | 25 Jul 2022
    Another alternative that comes to my mind it is to use the node.js buildpack and serve the static files using serve or similar.
  • Dokku: Self-hosted Heroku
    2 projects | dev.to | 8 Jul 2022
    Support for Buildpacks from Heroku
  • How do you update parameters of Node.js packages after or before deployment?
    1 project | /r/node | 15 May 2022
    You use a buildpack.
  • Heroku/python failed to detect set buildpack
    1 project | /r/codehunter | 14 Apr 2022
    Counting objects: 36, done.Delta compression using up to 4 threads.Compressing objects: 100% (33/33), done.Writing objects: 100% (36/36), 19.22 KiB | 0 bytes/s, done.Total 36 (delta 3), reused 0 (delta 0)remote: Compressing source files... done.remote: Building source:remote: remote: -----> Failed to detect set buildpack https://codon-buildpacks.s3.amazonaws.com/buildpacks/heroku/python.tgzremote: More info: https://devcenter.heroku.com/articles/buildpacks#detection-failureremote: remote: ! Push failedremote: Verifying deploy....remote: remote: ! Push rejected to dry-waters-63931.remote: To https://git.heroku.com/dry-waters-63931.git ! [remote rejected] master -> master (pre-receive hook declined)error: failed to push some refs to 'https://git.heroku.com/dry-waters-63931.git' My root directory:
  • Deployment of a Dart Server on Heroku
    3 projects | dev.to | 9 Apr 2022
    Now that your app is registered to Heroku, we have to set up a buildpack.
  • Anyone use Directus as a CMS? Is it any good?
    1 project | /r/webdev | 12 Feb 2022
    -----> Building on the Heroku-20 stack -----> Using buildpack: https://github.com/heroku/heroku-buildpack-nodejs -----> Node.js app detected -----> Creating runtime environment NPM_CONFIG_LOGLEVEL=error NODE_VERBOSE=false NODE_ENV=production NODE_MODULES_CACHE=true -----> Installing binaries engines.node (package.json): unspecified engines.npm (package.json): unspecified (use default) Resolving node version 16.x... Downloading and installing node 16.14.0... Using default npm version: 8.3.1 -----> Installing dependencies Installing node modules npm ERR! code 1 npm ERR! path /tmp/build_1816a6d9/node_modules/argon2 npm ERR! command failed npm ERR! command sh -c node-gyp rebuild npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using [email protected] npm ERR! gyp info using [email protected] | linux | x64 npm ERR! gyp info find Python using Python version 3.8.10 found at "/usr/bin/python3" npm ERR! gyp http GET https://nodejs.org/download/release/v16.14.0/node-v16.14.0-headers.tar.gz npm ERR! gyp http 200 https://nodejs.org/download/release/v16.14.0/node-v16.14.0-headers.tar.gz npm ERR! gyp http GET https://nodejs.org/download/release/v16.14.0/SHASUMS256.txt npm ERR! gyp http 200 https://nodejs.org/download/release/v16.14.0/SHASUMS256.txt npm ERR! gyp info spawn /usr/bin/python3 npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args '/tmp/build_1816a6d9/.heroku/node/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py', npm ERR! gyp info spawn args 'binding.gyp', npm ERR! gyp info spawn args '-f', npm ERR! gyp info spawn args 'make', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/tmp/build_1816a6d9/node_modules/argon2/build/config.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/tmp/build_1816a6d9/.heroku/node/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/app/.cache/node-gyp/16.14.0/include/node/common.gypi', npm ERR! gyp info spawn args '-Dlibrary=shared_library', npm ERR! gyp info spawn args '-Dvisibility=default', npm ERR! gyp info spawn args '-Dnode_root_dir=/app/.cache/node-gyp/16.14.0', npm ERR! gyp info spawn args '-Dnode_gyp_dir=/tmp/build_1816a6d9/.heroku/node/lib/node_modules/npm/node_modules/node-gyp', npm ERR! gyp info spawn args '-Dnode_lib_file=/app/.cache/node-gyp/16.14.0/<(target_arch)/node.lib', npm ERR! gyp info spawn args '-Dmodule_root_dir=/tmp/build_1816a6d9/node_modules/argon2', npm ERR! gyp info spawn args '-Dnode_engine=v8', npm ERR! gyp info spawn args '--depth=.', npm ERR! gyp info spawn args '--no-parallel', npm ERR! gyp info spawn args '--generator-output', npm ERR! gyp info spawn args 'build', npm ERR! gyp info spawn args '-Goutput_dir=.' npm ERR! gyp info spawn args ] npm ERR! gyp: Undefined variable module_name in binding.gyp while trying to load binding.gyp npm ERR! gyp ERR! configure error npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1 npm ERR! gyp ERR! stack at ChildProcess.onCpExit (/tmp/build_1816a6d9/.heroku/node/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:259:16) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:520:28) npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12) npm ERR! gyp ERR! System Linux 4.4.0-1098-aws npm ERR! gyp ERR! command "/tmp/build_1816a6d9/.heroku/node/bin/node" "/tmp/build_1816a6d9/.heroku/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" npm ERR! gyp ERR! cwd /tmp/build_1816a6d9/node_modules/argon2 npm ERR! gyp ERR! node -v v16.14.0 npm ERR! gyp ERR! node-gyp -v v8.4.1 npm ERR! gyp ERR! not ok npm ERR! A complete log of this run can be found in: npm ERR! /tmp/npmcache.9omWv/_logs/2022-02-12T13_14_33_973Z-debug-0.log -----> Build failed We're sorry this build is failing! You can troubleshoot common issues here: https://devcenter.heroku.com/articles/troubleshooting-node-deploys Some possible problems: - Node version not specified in package.json https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version Love, Heroku ! Push rejected, failed to compile Node.js app. ! Push failed
  • Deploying a Git Subdirectory to Heroku
    1 project | dev.to | 11 Jan 2022
    My first instinct was to (cry) manually set the appropriate buildpack for a node.js server as mentioned by Heroku's Dev Center. However, Heroku states that...
  • Self-Hosting Plausible Analytics With Dokku
    5 projects | dev.to | 12 Dec 2021
    Dokku is a popular, open-source, and self-hosted platform as a service (PaaS) that allows users to easily deploy and manage their applications, very similar to your own self-hosted Heroku. Under the hood, Dokku is powered by Docker, uses Heroku buildpacks by default, and has a number of official and community plugins.

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
    10 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-nodejs and Dokku you can also consider the following projects:

cowboy - Small, fast, modern HTTP server for Erlang/OTP.

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

subdir-heroku-buildpack - Allows to use subdirectory configured via environment variable as a project root

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

heroku-buildpack-deno - Heroku Buildpack for Deno

Portainer - Making Docker and Kubernetes management easy.

dokku-plausible

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

simple-app-elixir - Simple Elixir app to serve Coinbase Bitcoin API

swarmpit - Lightweight mobile-friendly Docker Swarm management UI

heroku-buildpack-dart - Heroku buildpack for Dart

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