Skip to content
OpenSourceSoftware.ai

Infrastructure & Hosting

An open-source alternative to Heroku

Dokku is the one project in our catalog listed as a replacement for Heroku. It is deployment software with 32.2K GitHub stars. Below is how it measures against the questions people usually ask first.

Dokku

Deployment

Deploy apps to your own server with a git push, Heroku style.

Dokku gives a single server the workflow people know from Heroku: push code, let the platform build it, and get a running app on a domain. Everything is driven from the command line over SSH, and each app runs in its own Docker container on hardware you choose.

  • Deploy with git push, a Docker image or an archive, built from a Dockerfile or buildpacks.
  • Add Postgres, MySQL, Redis and other databases with official plugins, linked by one command.
  • Move traffic to new containers after health checks, and add Let's Encrypt certificates via a plugin.

What people use it for

Move a Heroku app to your own server

Run the bootstrap script on a fresh Ubuntu or Debian VM, add your SSH key and set a global domain. Create the app with dokku apps:create, add a git remote and push your code, which builds with the same Heroku buildpacks.

Give an app a database

Install the official Postgres plugin, create a database with dokku postgres:create and link it to the app. Dokku sets DATABASE_URL in the app's environment, so the code connects without config changes.

Put an app on its own domain with HTTPS

Point the domain at the server and run dokku domains:set for the app. Install the Let's Encrypt plugin, enable it for the app and add its cron job so certificates renew on their own.

32.2K starsMITGoLatest release 2 days agoWebsite ↗Full profile →

Fact checklist

The same questions the pages with more alternatives let you sort by, answered for Dokku.

  • Permissive licence (MIT, Apache, BSD)Licence: MIT (permissive)
  • Open-source licence (copyleft or permissive)Licence: MIT (permissive)
  • Released in the last 90 daysLatest GitHub release Oct 30, 2026 (2 days ago)
  • Does not meet: Gaining stars this weekNot enough star history yet to tell
  • Written in GoMain language on GitHub
  • Does not meet: Recommended in a stackNot in any of our stacks yet

Data from GitHub and our catalog. Every listing is hand-approved. List prices are what the vendor publishes, not a quote, and self-hosting has its own running costs.