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
- Start with a fresh VPS running a supported Ubuntu or Debian release.
- Download and run the bootstrap script for the current version from the Dokku documentation.
- Add your SSH public key:
cat ~/.ssh/id_ed25519.pub | ssh root@server dokku ssh-keys:add admin. - 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
| Use | Suggested plan |
|---|---|
| A few apps with a shared database | 2 vCores / 8 GB |
| Many apps, workers and frequent builds | 4 vCores / 16 GB |
| Heavy builds or larger databases | 8 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.
| Plan | vCores | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| VPS 1 — AMD | 2 | 8 GB DDR4 ECC | 40 GB NVMe SSD | 1 Gbps, unmetered | ₹649/month | Websites, small APIs, bots, staging and VPN servers | Order |
| VPS 2 — AMD | 4 | 16 GB DDR4 ECC | 80 GB NVMe SSD | 1 Gbps, unmetered | ₹1,299/month | WooCommerce, Node.js/Python backends, Docker Compose stacks, CI runners | Order |
| VPS 3 — AMD | 8 | 32 GB DDR4 ECC | 150 GB NVMe SSD | 1 Gbps, unmetered | ₹2,499/month | Production databases, high-traffic sites, multi-container apps | Order |
| VPS 4 — AMD | 16 | 64 GB DDR4 ECC | 250 GB NVMe SSD | 1 Gbps, unmetered | ₹4,899/month | Large production workloads, SaaS platforms, analytics, in-memory caches | Order |
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.
| Plan | vCores | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| VPS 1 — Intel | 2 | 8 GB DDR4 ECC | 40 GB NVMe SSD | 1 Gbps, unmetered | ₹649/month | Business websites, small apps, scheduled jobs and bots | Order |
| VPS 2 — Intel | 4 | 16 GB DDR4 ECC | 80 GB NVMe SSD | 1 Gbps, unmetered | ₹1,169/month | Business software, mid-size databases, several sites on one server | Check stock |
| VPS 3 — Intel | 8 | 32 GB DDR4 ECC | 150 GB NVMe SSD | 1 Gbps, unmetered | ₹2,249/month | ERP/CRM stacks, heavier databases, multiple production apps | Check stock |
| VPS 4 — Intel | 16 | 64 GB DDR4 ECC | 250 GB NVMe SSD | 1 Gbps, unmetered | ₹4,299/month | High-memory workloads and consolidated production servers | Check 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.