SwapDex

Dokku

Minimalist self-hosted PaaS powered by Docker — git push to deploy on a single Linux server.

Open sourceSelf-hostFree / self-hostMIT30.1k★

PaaS & Hosting

Last commit 2026-06-01

Dokku calls itself "the smallest PaaS implementation you've ever seen," and it earns that description. The entire thing runs as a collection of shell scripts and a thin Go binary on a single Linux server. It implements the Heroku Buildpack API, which means any codebase that Heroku can detect and build — Node.js, Python, Ruby, Go, Java, static sites — deploys to Dokku with the same `git push` command.

Installation takes under ten minutes on a fresh Ubuntu or Debian box. From there you create an app, push your code, and Dokku builds it inside a Docker container using the appropriate buildpack, maps it to a subdomain, and keeps it running. A small plugin ecosystem handles the most common additions: `dokku-postgres` provisions a Postgres container and injects the connection string automatically; `dokku-letsencrypt` provisions and renews TLS certificates; `dokku-redis` and `dokku-mongo` follow the same pattern.

There is no web UI. Every operation happens through the `dokku` CLI on the server or over SSH from your local machine. That constraint is a feature for the audience Dokku is aimed at — developers who are comfortable in a terminal and find dashboards an unnecessary abstraction on top of a tool that already does exactly one job well. The MIT license, a decade of continuous development, and zero external dependencies make it a reliable long-term choice for running a personal or small-team server without ongoing hosting costs growing with the team.

Key features of Dokku

  • Heroku-compatible git push deploy workflow
  • Buildpack support for automatic language detection
  • Plugin system for Postgres, Redis, Let's Encrypt, and more
  • Per-app environment variable management via CLI
  • Zero-downtime deploys with health check integration

Pros

  • Extremely lightweight — minimal resource overhead on a single server
  • MIT-licensed with a decade of production battle-testing
  • Plugin ecosystem covers the most common data stores and TLS needs

Cons

  • No web UI — every operation is CLI or SSH, which raises the floor for non-developers
  • Designed for a single host; scaling across multiple servers requires extra tooling
  • Buildpack ecosystem trails Heroku's official support for edge-case runtimes

Dokku pricing

Free / self-host · open-source · MIT

Solo developers and small teams who want git push deploys on a cheap VPS with zero abstraction overhead.

Dokku is an alternative to

Compare all Heroku alternatives →

Head-to-head comparisons

Frequently asked questions

Is Dokku open source?

Yes. Dokku is open source (MIT), so you can read the code, self-host it, and avoid vendor lock-in.

How much does Dokku cost?

Dokku starts at Free / self-host on a open-source model. Self-hosting can reduce that to infrastructure cost only.

Can I self-host Dokku?

Yes — Dokku supports self-hosting, giving you full data ownership.