Updated Nov 26, 20267 min read

Dokploy Alternatives for Deploying to Your Own Cloud

The main alternatives to Dokploy compared on how apps are deployed, databases and backups, previews, servers you have to maintain and pricing, with an example backend that runs in your own AWS or GCP account instead of on servers you operate.

Illustration for Dokploy Alternatives for Deploying to Your Own Cloud

Dokploy turns a VPS or a few of them into a deploy platform, with a dashboard for apps, Docker Compose stacks and databases, Traefik in front and Docker Swarm to spread containers across servers. For a dozen small apps on cheap hosts, it removes most of the deploy scripting.

The servers stay yours, though, with their updates and the database next to the app, and that hurts once a customer depends on it.

Dokploy alternatives at a glance

EncoreCoolifyCapRoverDokkuKamal
What it isBackend framework with built-in infrastructureSelf-hosted PaaS with a dashboardSelf-hosted PaaS on Docker SwarmSingle-server PaaS on the command lineDeploy tool for containers over SSH
Where the app runsYour own AWS or GCP accountServers you connectServers you runOne serverHosts you list
Servers to maintainNone, managed cloud servicesYesYesYesYes
DatabasesRDS or Cloud SQL, declared in codeOne-click databases with backupsOne-click appsPluginsAccessories you define
Local environmentencore run starts the app and its infrastructureYour own Docker setupYour own Docker setupYour own Docker setupYour own Docker setup

Dokploy features are from dokploy.com and the other tools from their project documentation, checked November 26, 2026.

1. Encore

Encore

Encore is a backend framework with built-in infrastructure, and it replaces the servers behind a Dokploy setup with managed services in your own AWS or GCP account. The API, its Postgres database, its buckets and its cron jobs are declared in code, and the AWS docs list Fargate, RDS and S3 as what gets provisioned, with Cloud Run, Cloud SQL and Cloud Storage on GCP.

Application code passes through Encore and infrastructure guardrails to resources provisioned in your own AWS or GCP account.

Set up the app

Get started
brew install encoredev/tap/encore &&
encore app create
Copy

Run in your terminal to get started locally.

~
$ encore app create reports --example=ts/hello-world$ cd reports && mkdir -p exports/migrations

Dokploy's database backups to S3-compatible storage map onto a different design here, where the database is a managed service and the nightly export a service writes is an object in a bucket. The exports folder also needs an encore.service.ts that exports new Service("exports"):

// exports/exports.ts import { api, APIError } from "encore.dev/api"; import { SQLDatabase } from "encore.dev/storage/sqldb"; import { Bucket } from "encore.dev/storage/objects"; import { CronJob } from "encore.dev/cron"; const db = new SQLDatabase("exports", { migrations: "./migrations" }); // An S3 bucket on AWS, a Cloud Storage bucket on GCP, local disk under `encore run`. const dailyExports = new Bucket("daily-exports", {}); export const recordSale = api( { expose: true, method: "POST", path: "/sales" }, async ({ sku, cents }: { sku: string; cents: number }): Promise<{ id: number }> => { if (!sku || cents <= 0) throw APIError.invalidArgument("sku and a positive amount are required"); const row = await db.queryRow<{ id: number }>` INSERT INTO sales (sku, cents) VALUES (${sku}, ${cents}) RETURNING id`; return { id: row!.id }; }, ); // Writes yesterday's sales as one CSV object; running it twice overwrites the same object. export const exportDay = api( { expose: false }, async (): Promise<{ object: string; rows: number }> => { const day = new Date(Date.now() - 24 * 3600 * 1000).toISOString().slice(0, 10); const lines = ["id,sku,cents,created_at"]; const rows = await db.query<{ id: number; sku: string; cents: number; created_at: Date }>` SELECT id, sku, cents, created_at FROM sales WHERE created_at >= ${day}::date AND created_at < ${day}::date + 1 ORDER BY id`; let n = 0; for await (const r of rows) { lines.push(`${r.id},${r.sku.replaceAll(",", " ")},${r.cents},${r.created_at.toISOString()}`); n++; } const object = `sales/${day}.csv`; await dailyExports.upload(object, Buffer.from(lines.join("\n") + "\n"), { contentType: "text/csv" }); return { object, rows: n }; }, ); export const download = api( { expose: true, method: "GET", path: "/exports/:day" }, async ({ day }: { day: string }): Promise<{ url: string }> => { const object = `sales/${day}.csv`; if (!/^\d{4}-\d{2}-\d{2}$/.test(day) || !(await dailyExports.exists(object))) { throw APIError.notFound("no export for that day"); } const { url } = await dailyExports.signedDownloadUrl(object, { ttl: 300 }); return { url }; }, ); const _ = new CronJob("export-day", { title: "Export yesterday's sales to a CSV object", schedule: "15 0 * * *", endpoint: exportDay, });
-- exports/migrations/1_create_sales.up.sql CREATE TABLE sales ( id BIGSERIAL PRIMARY KEY, sku TEXT NOT NULL, cents INTEGER NOT NULL CHECK (cents > 0), created_at TIMESTAMPTZ NOT NULL DEFAULT now() ); CREATE INDEX sales_created_at_idx ON sales (created_at);

encore run starts Postgres locally, applies the migration and keeps bucket objects on local disk, so the sale, the export and the signed download URL can all be tried on a laptop. Cron jobs do not run locally, so exportDay is called from the local development dashboard. The object storage docs cover signed URLs and public buckets, and the cron docs cover schedules.

Deployment goes through Connect your cloud account and a push, with the database and the bucket created in your account and the schedule managed by the Encore platform. An AI coding agent can add a second export or another table in the same change that creates the bucket it writes to and run it locally before review.

Best fit: Teams that want apps, databases and buckets in their own AWS or GCP account without operating servers or a Swarm cluster.

2. Coolify

Coolify

Coolify is an open source, self-hosted PaaS with a web dashboard for deploying apps, databases and one-click services onto servers you connect over SSH. Self-hosting is free, and Coolify Cloud hosts the dashboard for $5 a month for two servers plus $3 for each additional one. It adds scheduled database backups to S3-compatible storage and preview deployments from pull requests, and capacity, operating system updates and database failover stay with you.

Best fit: Small teams on one or a few VPSs who want a dashboard and a hosted control plane option.

3. CapRover

CapRover

CapRover is a self-hosted PaaS built on Docker Swarm, with a web UI, one-click apps, automatic HTTPS and deploys from git or the CLI. It is the older and more minimal of the Swarm-based tools, and it also leaves the servers to you.

Best fit: Small deployments on Swarm that need a simple UI and a catalog of one-click apps.

4. Dokku

Dokku

Dokku turns one server into a Heroku-style PaaS where git push dokku main builds the app with buildpacks or a Dockerfile and runs it behind NGINX. Plugins add Postgres, Redis and automatic TLS certificates, and an optional k3s scheduler runs it across more than one server. There is no web dashboard by default, and the host and its backups are yours to look after.

Best fit: Side projects and small apps that fit on one machine and want a Heroku-style workflow.

5. Kamal

Kamal

Kamal, from 37signals, builds a container image, pushes it to a registry and starts it on your hosts over SSH, with kamal-proxy switching traffic once the new container passes its health check. Databases and Redis run as accessories you define, and there is no dashboard. Automatic HTTPS works with a single web server, and several hosts need a load balancer you run.

Best fit: Teams comfortable with Docker who want zero-downtime deploys to their own hosts without a platform layer.

How to choose

Choose Coolify for the closest dashboard-over-your-servers experience, CapRover or Dokku for the smallest setup on Swarm or a single host, and Kamal when you want a deploy tool and no platform. All four leave the servers and the databases on them to you. If those are the part you want to stop operating, choose Encore and run the app as managed services in your own AWS or GCP account.

Frequently asked questions

What is Dokploy?

Dokploy is an open source, self-hosted platform with a web dashboard for deploying applications, Docker Compose stacks and databases. It runs workloads across servers with Docker Swarm and Traefik, supports preview deployments for pull requests, and backs databases up to S3-compatible storage.

What is the closest alternative to Dokploy?

Coolify is the closest, with the same dashboard-over-your-servers model, databases with backups and preview deployments, but it manages servers over SSH instead of Docker Swarm. CapRover also uses Docker Swarm and is the older, more minimal option.

Do I still have to manage servers with Dokploy?

Yes. Dokploy automates deploys, but the servers, their operating system updates, Docker, disk space and the databases running on them stay yours to maintain, and Dokploy Cloud hosts only the dashboard, not your workloads.

How do I run an app without managing servers and keep it in my own cloud account?

With Encore you declare the API, the Postgres database, buckets and cron jobs in the service code and deploy to your own AWS or GCP account, where they run on Fargate and RDS or on Cloud Run and Cloud SQL. There are no hosts to patch, and encore run starts the same pieces locally.

Build TypeScript backends without the infrastructure boilerplate

Encore gives you type-safe APIs, local Postgres and Pub/Sub out of the box, built-in distributed tracing, and automated deploys to your own AWS or GCP account.

~/orders — claude
Claude Code
Claude Code v2.1.180Opus 5.5~/orders