DevOps12 min read•Updated November 2026

VPS Hosting for Dokku

Quick answer

Dokku is an open-source, Docker-powered platform that gives you Heroku-style git push deployments on your own server. On a VPS, install it with the official bootstrap script, add your SSH public key, create an app, and push your code to the Dokku remote: it builds with buildpacks, Cloud Native Buildpacks or your Dockerfile, runs the container behind Nginx, and switches traffic after health checks pass. Add domains and free certificates with the Let's Encrypt plugin, create databases with official plugins, mount persistent storage for uploads, back up databases and volumes off-site, and keep Dokku and the server updated.

Dokku has no web dashboard by default: everything happens over SSH and Git. That simplicity is its strength. It is small, predictable and well documented, and a single VPS can host many apps with a workflow almost identical to classic Heroku. Developers who live in the terminal often find it the fastest way to self-host.

How Dokku Works

git push dokku main ─▶ Dokku receives code over SSH
        ─▶ build (Herokuish buildpacks, Cloud Native Buildpacks or Dockerfile)
        ─▶ start new container ─▶ checks pass ─▶ Nginx switches traffic
        ─▶ old container retired

By default Dokku runs apps on a single host with Docker. Scheduler plugins exist for other targets, such as K3s, for teams that grow beyond one server.

Installation

  1. Start with a fresh VPS running a supported Ubuntu or Debian release.
  2. Download and run the bootstrap script for the current version from the Dokku documentation.
  3. Add your SSH public key: cat ~/.ssh/id_ed25519.pub | ssh root@server dokku ssh-keys:add admin.
  4. Set a global domain, for example dokku domains:set-global apps.example.com, with a wildcard DNS record.

Dokku's documentation lists minimum memory; builds of larger apps need more, so a bit of headroom or a swap file prevents failed builds.

Deploying an App

# on the server
dokku apps:create myapp
dokku config:set myapp SECRET_KEY=... NODE_ENV=production

# on your computer
git remote add dokku dokku@server:myapp
git push dokku main

Dokku detects the language with buildpacks, or uses your Dockerfile if one exists. Use a Procfile to define the web process and extra process types such as workers, and scale them with dokku ps:scale myapp web=2 worker=1. An app.json file can define deployment tasks such as running database migrations before release.

Zero-Downtime Deploys

Dokku starts the new container and waits before switching traffic. Configure health checks (in app.json) so it verifies an endpoint responds correctly, rather than only waiting a fixed time. If checks fail, the old container keeps serving and the deploy is aborted. See our zero-downtime deployments guide for the wider pattern.

Domains and HTTPS

Add domains with dokku domains:add myapp example.com, install the official Let's Encrypt plugin, set a contact email, and run dokku letsencrypt:enable myapp. Enable the plugin's automatic renewal cron job so certificates never expire unnoticed.

Databases with Plugins

Official plugins provide PostgreSQL, MySQL, MariaDB, MongoDB, Redis and others as containers. Create a service and link it to an app; Dokku injects the connection URL as an environment variable.

dokku plugin:install https://github.com/dokku/dokku-postgres.git
dokku postgres:create mydb
dokku postgres:link mydb myapp

The database plugins include backup commands that can upload dumps to S3-compatible storage on a schedule. Configure them, and test restores.

Persistent Storage

Containers are replaced on every deploy. Mount host directories for uploads or other files with dokku storage:mount, using the recommended storage location, and include those directories in your backups. Better still, store user files in object storage so apps stay stateless.

Security

  • Only trusted keys should be added; anyone who can push can run code on the server.
  • Harden SSH: key authentication only, no root password logins.
  • Keep databases on the internal Docker network; expose ports only when needed and restricted by IP.
  • Keep Dokku, plugins and the OS updated, reading release notes for upgrade steps.
  • Use the firewall to allow only SSH, HTTP and HTTPS.

Backups

  • Scheduled database backups through plugin commands, sent off-site.
  • Backups of mounted storage directories.
  • App configuration exported (dokku config:export) and stored securely.
  • App code in Git, so a new server can be rebuilt by pushing again.

Maintenance and Monitoring

Run dokku cleanup or Docker prune commands periodically to remove old images and build caches. View logs with dokku logs myapp, and add external uptime checks plus server monitoring for disk, memory and CPU. Ship logs to a central place if you run many apps.

Sizing

UseSuggested plan
A few apps with a shared database2 vCores / 8 GB
Many apps, workers and frequent builds4 vCores / 16 GB
Heavy builds or larger databases8 vCores / 32 GB, or a separate database server

Dokku or a Dashboard Platform?

Choose Dokku if you prefer Git and the command line and want a minimal, stable system. If your team prefers a web interface, preview deployments and one-click services, look at Coolify, Dokploy or CapRover.

Example: A Developer's Side Projects

A developer hosts a Django app, a Node.js API with a background worker and a static marketing site on a 2 vCore / 8 GB VPS with Dokku. Each deploys with git push, PostgreSQL and Redis come from official plugins, Let's Encrypt certificates renew automatically, and nightly database dumps go to object storage.

Common Mistakes

  • No health checks, so broken releases receive traffic.
  • Writing uploads inside the container instead of mounted storage.
  • Forgetting Let's Encrypt auto-renewal.
  • Undersized servers that fail during builds.
  • Never cleaning old images.

In Short

Dokku gives you git push deployments on a VPS with minimal overhead. Install it, add keys, push apps, add health checks and HTTPS, use plugins for databases with scheduled backups, mount storage for files, and keep the server clean and updated.

SkyRainCloud Plans for This Workload

Dokku adds little overhead; builds need memory. 2 vCores / 8 GB runs several apps and databases comfortably; 4 vCores / 16 GB suits frequent builds or larger apps.

AMD EPYC 7C13 VPS

Dedicated KVM vCores on AMD EPYC 7C13 (up to 3.70 GHz) with DDR4 ECC memory, NVMe SSD and an unmetered 1 Gbps port.

PlanvCoresRAMStorageNetworkPriceGood forBuy
VPS 1 — AMD28 GB DDR4 ECC40 GB NVMe SSD1 Gbps, unmetered₹649/monthWebsites, small APIs, bots, staging and VPN serversOrder
VPS 2 — AMD416 GB DDR4 ECC80 GB NVMe SSD1 Gbps, unmetered₹1,299/monthWooCommerce, Node.js/Python backends, Docker Compose stacks, CI runnersOrder
VPS 3 — AMD832 GB DDR4 ECC150 GB NVMe SSD1 Gbps, unmetered₹2,499/monthProduction databases, high-traffic sites, multi-container appsOrder
VPS 4 — AMD1664 GB DDR4 ECC250 GB NVMe SSD1 Gbps, unmetered₹4,899/monthLarge production workloads, SaaS platforms, analytics, in-memory cachesOrder

Intel Xeon Platinum 8269CY VPS

KVM VPS on Intel Xeon Platinum 8269CY (up to 3.80 GHz Turbo) with DDR4 ECC memory, NVMe SSD, full root access and an unmetered 1 Gbps port.

PlanvCoresRAMStorageNetworkPriceGood forBuy
VPS 1 — Intel28 GB DDR4 ECC40 GB NVMe SSD1 Gbps, unmetered₹649/monthBusiness websites, small apps, scheduled jobs and botsOrder
VPS 2 — Intel416 GB DDR4 ECC80 GB NVMe SSD1 Gbps, unmetered₹1,169/monthBusiness software, mid-size databases, several sites on one serverCheck stock
VPS 3 — Intel832 GB DDR4 ECC150 GB NVMe SSD1 Gbps, unmetered₹2,249/monthERP/CRM stacks, heavier databases, multiple production appsCheck stock
VPS 4 — Intel1664 GB DDR4 ECC250 GB NVMe SSD1 Gbps, unmetered₹4,299/monthHigh-memory workloads and consolidated production serversCheck stock

Prices are monthly in INR as listed on the SkyRainCloud store (verified 2026-11-14). Stock and final pricing are shown on the product page at checkout.

Frequently Asked Questions

What is Dokku?
An open-source, Docker-powered mini platform that provides Heroku-style git push deployments on your own server.
Does Dokku have a web dashboard?
Not by default; it is managed over SSH and Git. Third-party interfaces exist.
How do I deploy to Dokku?
Create an app on the server, add the Dokku Git remote and run git push dokku main.
Which build methods does Dokku support?
Herokuish buildpacks, Cloud Native Buildpacks and Dockerfiles, among others.
How do I add HTTPS in Dokku?
Install the official Let's Encrypt plugin, enable it per app and turn on automatic renewal.
How do I run databases with Dokku?
Use official plugins such as dokku-postgres, create a service and link it to your app.
Does Dokku support zero-downtime deploys?
Yes. It starts new containers and switches traffic after checks pass; configure health checks for reliability.
Where should uploaded files go?
In storage mounted with dokku storage:mount, or better, in object storage.
Can Dokku scale beyond one server?
By default it is single-host, but scheduler plugins support targets such as K3s.
Which plan suits Dokku?
2 vCores / 8 GB for several apps; 4 vCores / 16 GB for many apps and frequent builds.
Instant UPI • ₹649/mo
Fast KVM Cloud Provisioning