Skip to content

Dokku

A self-hosted, Docker-based mini Heroku for deploying apps on your own server.

Stars
32.2k
Forks
2.1k
Licence
MIT
Language
Go
Last update
4 days ago
Type
App

What it is

Dokku is a platform-as-a-service you install on your own server. It lets you deploy web applications by pushing code to it, much like Heroku, and it runs each app in Docker containers. People use it to host their own apps without paying for a managed hosting service.

  • Deploy a web app by pushing its git repository to the server
  • Install the platform on a fresh Ubuntu or Debian VM using the official bootstrap script
  • Manage app lifecycle and SSH keys for deployments from the command line

Great for

  • Developers who want Heroku-style deployment on a server they control
  • Small teams hosting a handful of web apps on a single VM
  • People comfortable administering a Linux server over SSH

Not ideal for

  • People who want no server administration at all, since it needs a fresh Ubuntu or Debian VM set up and maintained
  • Teams needing large multi-server scaling, since the README does not describe that scope
Step-by-step guide: how to use DokkuInstall, first run, examples, tips and FAQs

How to get it

  1. 1

    See the README

    You'll need: Ubuntu 22.04, 24.04, or 26.04, or Debian 11+ on a fresh VM · An SSH keypair for deployment · sudo access

    Download the bootstrap script

    wget -NP . https://dokku.com/install/v0.38.32/bootstrap.sh

    Run the installer with the release tag

    sudo DOKKU_TAG=v0.38.32 bash bootstrap.sh
  2. 2

    Run it

    • Run the installer on a fresh VM as a user with sudo access
    • Set your server domain with dokku domains:set-global
    • Add your SSH key with dokku ssh-keys:add if it was not imported automatically
    • Deploy an app by pushing its git repository to the server
  3. 3

    Get the most out of it

    • Set a global domain with dokku domains:set-global to route apps
    • Import deployment SSH keys with dokku ssh-keys:add to control access
    • Review the documentation at dokku.com/docs for further configuration

Downloads

Strengths

  • Familiar Heroku-style workflow on hardware you control
  • Open source under the MIT license with 32k+ GitHub stars
  • Runs apps in Docker containers

Trade-offs

  • Requires a fresh Ubuntu or Debian VM and some sysadmin knowledge
  • The README is truncated here, so details on app configuration and scaling are not confirmed

How it compares

ProjectStarsTypeLevelUpdatedBest for
dokku (this)32.2kAppintermediate4 days agoDevelopers who want Heroku-style deployment on a server they control
dockge24.7kAppbeginner14 days agoPeople who run Docker Compose stacks on a home server or small Linux machine
lens23.2kAppbeginner1.7 years agoDevelopers who want a visual view of their Kubernetes workloads
uptime-kuma93.2kAppbeginner4 days agoPeople who want to monitor their own websites or services without paying a hosted monitoring service
colima31.5kDev toolbeginner23 days agoMac developers who want Docker containers without Docker Desktop
gogs47.9kAppintermediate5 days agoSmall teams that want a private Git server on their own hardware

Stats synced from GitHub. The assessment above was drafted with AI from the project's README on 2026-10-29 and may miss recent changes — check the README before relying on a command. MIT licence: free to use, modify and distribute, including commercially, as long as you keep the copyright notice.