Indish Marketer
AI Agents & Automation

Coolify vs Dokploy: My Honest Comparison After Testing Both With Claude Code and MCP

I've run Coolify since early 2025. I tested Dokploy side by side on a Hostinger VPS, deploying my own CRM with Claude Code and MCP. Here's what actually happened.

Coolify vs. Dokploy comparison title card

I've been running Coolify to host my website and my own open-source CRM since early 2025. Most days it just works. But a few times a build has finished successfully and the app still failed its health check, or I've had to dig through deployment logs to figure out why a container wouldn't start. That's normal when you self-host your own infrastructure, but it got me wondering if another platform would give me fewer of these moments.

That's how I ended up looking at Dokploy. It does a lot of the same things as Coolify, and it also connects to AI agents through MCP, which is exactly how I manage my own infrastructure day to day. So instead of just reading other people's opinions, I decided to actually test it myself. This month, I installed both platforms on fresh Hostinger VPS instances, connected each one to Claude Code through MCP, and used the same AI agent to deploy the exact same application, my own CRM, OpenCloudCRM, on both.

This post is what actually happened when I did that, including the parts that didn't go smoothly the first time, plus everything else I know about how the two platforms differ once you go past the first deployment.


What Coolify and Dokploy Actually Are

Both Coolify and Dokploy are what's usually called a "platform as a service." You push your code, or point them at a Docker image, and the platform handles the server side of things: building the container, setting up a reverse proxy, issuing an HTTPS certificate, and keeping the app running. Services like Vercel, Netlify, and Railway do the same job, but they run on someone else's cloud and bill you for it. Coolify and Dokploy are open source and self-hosted, so you run them on your own VPS and you only pay for the server.

That difference matters more than it sounds. Once you own the server, you get predictable pricing with no surprise bills, you're not locked into one vendor's rules about languages or frameworks, and you can move your setup to a different VPS whenever you want.

Coolify is the older of the two, first released in 2022 and built with PHP and Laravel. Dokploy is newer, released in 2024, and built with Next.js and TypeScript. Both use Docker under the hood to build and run your applications.


My Test Setup: Two VPS Servers, One AI Agent, One App

To keep this fair, I used two separate Hostinger VPS instances. My actual website and CRM already run on a production KVM2 server through Coolify, the same setup I use to host several apps on one VPS, and I left that one alone. For this test, I used a second KVM1 server that I could wipe and reinstall as many times as I needed, first with Coolify, then with Dokploy, without touching anything live.

I deployed the same application on both: OpenCloudCRM, the open-source CRM that runs this website. It already ships with a Docker image, a README with setup instructions, and documented environment variables, which made it a realistic test case rather than a toy "hello world" app.

For the AI side, I used Claude Code in the terminal, connected to each platform through its MCP server. I gave Claude the GitHub link to OpenCloudCRM and asked it to read the code and the deployment instructions, then deploy the app with its database on the platform I specified. I didn't fill in the dashboard myself. Claude did that through the MCP connection, and only asked me for the decisions that genuinely needed a human: the domain name, the email provider, and whether to keep the app and database as separate resources.


Installing Coolify vs Dokploy on a Fresh VPS

Hostinger VPS KVM plan selection screen
Hostinger has a pre-built template for both platforms, so I didn't need to run either install script by hand.

Hostinger has a pre-built template for both Coolify and Dokploy, so I didn't need to SSH in and run an install script myself. I just reinstalled the test VPS from the Control Panel tab and picked the template I needed. The reinstall takes a few minutes and wipes whatever was on the server before, so I made sure there was nothing on that test instance I needed to keep.

For Coolify, the first screen I hit said the setup window had already closed, so I had to SSH in, run docker restart coolify, and refresh the page to get the registration form back. Once that was sorted, creating the admin account was simple. For Dokploy, registration worked on the first try with no restart needed.

Both platforms then needed the same basic setup: a domain for the dashboard itself, DNS pointed at the VPS, and HTTPS turned on. Coolify's domain setting worked immediately once the DNS record existed. Dokploy's dashboard kept showing a certificate warning until I went into its Web Server settings and manually reloaded Traefik, the reverse proxy both platforms use under the hood. After that one extra step, it worked fine.


Connecting Claude Code Through MCP

This is the part most comparison posts skip, and it's the part I actually care about, since I manage my own infrastructure through an AI agent connected over MCP every day.

On Coolify, MCP isn't on by default. Under Settings → Advanced, there are two separate switches: one for the REST API and one for MCP specifically. You need both on. Once enabled, Coolify shows you the MCP endpoint (your dashboard URL plus /mcp), and you still need to generate a separate API token under Keys and Tokens, scoped to whichever team and resources you want the agent to touch. I connected Claude using a custom connector with that token in the Authorization header. Within a minute, Claude could see every tool the token's permissions allowed.

On Dokploy, the process is a bit different. You generate an API key from your profile settings, then run Dokploy's MCP package locally through npx, pointing it at your dashboard URL and the key. Claude Code then connects to that local MCP server rather than to a URL on the Dokploy dashboard itself. It worked, but it means the MCP connection lives on your own machine instead of being a toggle inside the platform.

Both approaches worked once I got the setup right. Coolify's is more self-contained, since the endpoint and the toggle both live in the dashboard. Dokploy's needs an extra local process, but you get the same result: an AI agent that can read your infrastructure and make real changes to it. I'd treat the token or key for either one exactly like a password. Scope it to only what the agent needs, and review what it can actually do before you let it near a production server.


Deploying OpenCloudCRM With AI: What Actually Happened

Coolify's resource picker, showing deploy options for a public Git repository, private repo with deploy key, GitHub App, GitLab App, Dockerfile, Docker Compose, and Docker image
Coolify's own "choose a resource" screen, the step Claude worked through on my behalf each time.

I told Claude the same thing on both platforms: read the OpenCloudCRM code and README, then deploy the app with a separate PostgreSQL database, using Brevo for outgoing email. Here's what actually went wrong, and right, on each one.

On Coolify: I typed an underscore instead of a hyphen in the domain name, and Claude caught it before continuing and asked me to fix it. It then needed the Brevo API key and a verified sender address, which I provided from my Brevo account. The first deployment finished and the health check passed, but the public address wouldn't load in my browser. It turned out to be two separate problems stacked on top of each other: I hadn't added the DNS record yet, and once I had, Traefik was still serving its default self-signed certificate until a second deploy picked up the real one. Even after that, my own computer still couldn't resolve the domain, because my ISP's DNS server had cached the old "this domain doesn't exist" result. Switching to a public DNS resolver temporarily, then back to automatic, fixed it.

Coolify's deployment logs screen showing a successful build and rolling update
Deployment logs are where the real troubleshooting happens, long before a status badge turns green.

On Dokploy: the first deployment failed outright. Claude found the cause in the deployment log: the Compose file was trying to publish the app directly on host port 3000, which wasn't available on that server. Removing the host port mapping and letting Dokploy's Traefik proxy route to the container internally fixed it on the next attempt. After that, adding the Brevo email settings and the domain worked without any other issues, and I didn't hit the DNS caching problem a second time since I'd already learned from the Coolify run.

Neither deployment was fully "hands off." Claude did the heavy lifting (reading the code, filling in the dashboard, catching my own typo, diagnosing the port conflict from a log file I didn't have to read myself), but I still had to make the domain, email, and resource decisions, and I still had to add DNS records myself in Cloudflare. If you're expecting to type one sentence and walk away, that's not what either platform gives you yet, even with an AI agent driving.


Logging In: The Part a Healthy Container Doesn't Prove

A deployment showing "healthy" in the dashboard doesn't mean a real visitor can actually use the app, so I tested the whole login flow on both.

On both Coolify and Dokploy, once the public address loaded, I opened the console, entered the admin email, and asked for a login link. OpenCloudCRM sends that link through Brevo rather than using a password, so this also doubled as a real test of the email setup, not just the container status. Both times, the email arrived within a few seconds. I clicked through, set up two-factor login with an authenticator app, saved the recovery codes, and landed on an empty admin console, since this was a fresh database on both installs, not a copy of my real site's data.

This is the check I'd recommend never skipping. "Healthy" in a dashboard just means the container started and responded to a basic health probe. It says nothing about whether DNS has actually propagated, whether your email provider is configured correctly, or whether a real user can log in. I hit DNS and certificate issues on Coolify that a green status badge never flagged.


Resource Usage: CPU, RAM, and Disk

I checked Hostinger's resource panel at a few points during this test. Before installing anything, the Coolify VPS sat around 13% CPU, 31% memory, and 5GB of disk used. After installing Dokploy on the same reused server, it read 14% CPU, 32% memory, and 9GB of disk. After deploying OpenCloudCRM on Dokploy, it dropped to 7% CPU, 30% memory, and 8GB of disk.

I want to be honest about what these numbers are worth: not much, on their own. Hostinger's CPU and memory cards are whole-VPS readings over a rolling time window, not an isolated measurement of just Coolify or just Dokploy, and I reused the same server for both installs rather than running them on two identical, untouched machines at the same time. So these are a rough log of what I saw, not a controlled benchmark.

What I can say with more confidence, because it's consistent and easy to reproduce, is the idle behavior once a platform is just sitting there with nothing deployed. Coolify tends to run noticeably hotter at idle, often sitting around 6-7% CPU even with zero services running, and that climbs further once you turn on its built-in metrics feature. Dokploy idles much lighter, typically under 2% CPU with nothing deployed. Memory usage, by contrast, is close to even between the two, usually around 1GB each at baseline. If you're running on a smaller VPS, that idle CPU gap is worth knowing about before you commit to one platform.


Other Differences Worth Knowing

My own test was mostly about one thing: can an AI agent deploy a real app through MCP, start to finish, on each platform. But picking a platform means living with it past the first deployment, so here's what else actually differs between the two once you're running them day to day.

  • Docker Swarm. Dokploy sets up Swarm mode automatically during installation and is built around it from the ground up, with multi-node routing and load balancing out of the box. Coolify's Swarm support exists but is explicitly marked experimental, and its multi-server setup treats each server more independently. If you plan to scale horizontally across multiple nodes, this is probably the single biggest structural difference between the two.
  • Git providers and build types. Both platforms support GitHub, a Docker image, or a Docker Compose file. Dokploy adds GitLab, Bitbucket, and Gitea, plus more build types like Railpack and Heroku buildpacks. Coolify supports fewer of each.
  • Database engines. Coolify can deploy three more database types than Dokploy (Dragonfly DB, KeyDB, and ClickHouse, on top of the Postgres, MySQL, Redis, MariaDB, and MongoDB that both support). Both support scheduled backups to an S3-compatible store for the databases they do offer.
  • Licensing. This is the one I'd weigh most heavily if I were choosing from scratch. Coolify is fully open source under the Apache 2 license. Dokploy's core is Apache 2 as well, but several features (Compose templates, multi-node support, scheduled tasks, preview deployments, and multi-server management) are carved out under a source-available license that restricts reselling them as a service without the author's consent. If open licensing matters to you specifically, that's a real point in Coolify's favor.
  • Cloudflare Tunnels. Coolify has native, built-in support for exposing services through a Cloudflare Tunnel without opening any ports, which is a genuine advantage for home-lab setups. Dokploy can be configured to work with tunnels too, but it's a manual setup rather than a first-class feature.
  • Monitoring. Dokploy shows CPU, memory, disk, and network metrics out of the box. Coolify's metrics, through its Sentinel feature, have to be manually enabled, and turning them on measurably increases Coolify's own CPU usage.
  • Interface. This one's subjective, but I'll give you my honest opinion: Dokploy's interface feels more consistent. Save behavior on Coolify is inconsistent across pages, some fields auto-save and others need a button press, and I got tired of its recurring sponsorship pop-up. None of that is a dealbreaker, but it adds up over months of daily use.

Maintenance I Actually Tested: Image Scanning and Backups

Dokploy's project dashboard showing separate app, database, cache, and worker services
Dokploy groups an app's services into one project view, each tracked and redeployed independently.

Deploying an app once is the easy part. I also asked Claude to run two ordinary maintenance tasks, explain each one before touching anything, and confirm it hadn't broken the working app.

On Coolify, I had it turn on image vulnerability scanning for the OpenCloudCRM container. After installing the scanner and triggering a scan, it came back with 97 findings in the image, including 8 marked critical. That number says something about the base image and its packages, not about whether the app is actually exploitable in practice, and turning scanning on doesn't fix anything by itself, it just tells you where to look. I left scanning on and haven't gone through and patched every finding yet.

I also asked Claude to back up the working database and restore that backup into a separate, temporary database, without touching the live one. It created the backup, set up a daily schedule with 7-day retention, spun up a second database, and imported the backup into it. The restore job reported a successful exit code. I'll be straight about the limit here: I didn't independently query the restored tables to confirm every row came through, so what I actually verified is that the backup and import both completed without error, not that every piece of data was byte-for-byte intact.

On Dokploy, I ran smaller checks: reading container logs for the app, database, and scheduler, making a reversible change to a service's description label, and triggering a redeploy that keeps the existing database and volumes untouched. All of that worked as expected, though a redeploy with no new image or settings doesn't actually restart the containers, since there's nothing new to apply, so it's a weaker test than it sounds.


So, Which One Did I Actually Pick?

I'm staying with Coolify. My website and my CRM already run on it, and this test didn't give me a strong enough reason to migrate something that's already working. That's a real factor, not a technical one: switching platforms has its own cost, separate from which one is "better" on paper.

I'll admit that's a narrower reason than a lot of comparisons out there would give you, and most reviews I've come across lean toward Dokploy for its Swarm-first architecture, lower idle resource usage, and more consistent interface. Those are legitimate reasons, and if I were starting from nothing today instead of already running Coolify in production, I think I'd genuinely have to think it over rather than default to Coolify out of habit.

What I can say from my own test is narrower than "platform X wins": both platforms let an AI agent connect through MCP and deploy a real application, start to finish, with a working database and working login email. Both needed me to make the same handful of human decisions (domain, email provider, resource layout) and both had at least one deployment problem that needed a real fix, not just a retry. Neither one is a magic button yet, no matter which AI agent is driving.

If your website and tools are already on Coolify and nothing is actively broken, I don't think this comparison gives you a reason to move. If you're setting up fresh and you care about Docker Swarm, more git providers, or a cleaner interface, Dokploy is the one I'd point you to.


Quick Comparison Table

FactorCoolifyDokploy
Built withPHP / LaravelNext.js / TypeScript
First released20222024
Docker SwarmExperimentalBuilt in from install
MCP / AI agent supportBuilt-in dashboard toggle + API tokenLocal MCP server via npx + API key
Git providersGitHub, generic GitGitHub, GitLab, Bitbucket, Gitea, generic Git
Database enginesPostgres, MySQL, Redis, MariaDB, MongoDB, Dragonfly, KeyDB, ClickHousePostgres, MySQL, Redis, MariaDB, MongoDB
LicensingFully open source (Apache 2)Core Apache 2; some features source-available
Cloudflare TunnelsNative, built-inManual setup
Built-in monitoringManual (Sentinel), raises idle CPUOn by default
Idle CPU, nothing deployed~6-7%~under 2%
Best forAlready-open-source purists, Cloudflare Tunnel home labs, more database engine optionsSwarm/clustering from day one, more git providers, a cleaner interface

Frequently Asked Questions

Is Dokploy actually better than Coolify?

It depends on what you're optimizing for. Dokploy has Docker Swarm built in from the start, lower idle CPU usage, and more git providers. Coolify is fully open source with no restricted features, has native Cloudflare Tunnel support, and supports a few more database engines. I stayed on Coolify because I already run my production sites there, not because I think it's objectively ahead on every point.

Can an AI agent safely deploy apps through MCP?

It worked for me on both platforms, but "safely" depends entirely on how you scope the token or API key you give the agent. Review exactly what permissions a token grants before connecting it, start with the smallest scope that gets the job done, and treat that token like a password. I'd also recommend testing on a disposable VPS before pointing an agent at a production server.

Is Coolify completely free and open source?

Yes. Coolify is self-hosted and released under the Apache 2 license with no restricted features. You only pay for the VPS you run it on.

Is Dokploy fully open source?

Its core is Apache 2 licensed, but a few features (Compose templates, multi-node support, scheduled tasks, preview deployments, and multi-server management) sit under a source-available license that restricts reselling them as a hosted service without the author's permission. It's more accurate to call it source-available than fully open source.

Which platform uses fewer server resources?

My own readings weren't a controlled test, since I reused one server for both installs. What's well known and easy to reproduce is the idle CPU gap: Dokploy typically idles under 2% CPU with nothing deployed, while Coolify sits around 6-7% even at rest. Memory usage is close to even between the two. If idle CPU matters to you on a smaller VPS, that's worth factoring in.

Do I need two VPS servers to test this myself?

Not necessarily, but it helps. I used one disposable test VPS that I reinstalled from scratch between Coolify and Dokploy, which kept my production server untouched. If you want to compare resource usage properly, though, you'll want two separate instances running at the same time, since reusing one server the way I did isn't a clean benchmark.


Conclusion: Test It on Your Own App Before You Decide

Neither Coolify nor Dokploy is a bad choice. Both installed in minutes on a Hostinger VPS, both connected to Claude Code through MCP, and both got a real application, with a database and working login email, live on the public internet. The differences that actually matter (Swarm support, licensing, idle resource usage, git provider support) are real, but which one wins depends on what you're building and what you already run.

My own advice is the same thing I'd tell anyone evaluating infrastructure: don't just read comparison posts, including this one. Deploy your actual app on a cheap, disposable VPS, connect your actual AI agent if you use one, and see what breaks. That's the only test that tells you anything about your specific setup.

If you've tested either platform yourself, or you've found a setup that handles both app and database updates better than what I described here, drop a comment. I'd like to know what I'm missing.

Shubho Dey

Shubho Dey

Founder, Indish Marketer

Shubho runs Indish Marketer, building automation and AI agent systems for coaches, consultants, and service providers. He writes about the tools and workflows he builds and uses himself.