One server was running 37 applications, and there were 8 different automated ways to ship them. The only one that could deploy with zero downtime was the tool I had written, and exactly one project was registered with it. This post covers how I rejected Coolify and built my own tool, then moved to Coolify within three weeks. My position is clear: at this scale I chose the ready-made platform. But most of the downtime I measured during the move came not from the platform itself but from my cutover order, my health check settings and my load testing method; two of the cases I still cannot explain, and I give the numbers for those too.
I built my own tool and shipped it in two days
The requirements were clear. Everyone on the team should be able to ship their own project by pushing to GitHub, every project should get an automatic preview subdomain, and it should be possible to attach a custom domain. One more condition: nobody should stay in the docker group on the server, because that group is effectively root. That day I ruled out Coolify and Dokploy for this job. What I wanted was a single SSH command on the server and a ready-made GitHub Actions template that calls it.
The tool went live in one day, and the web interface followed the next. Its core was Traefik's router priority. Every release carried its own router and an explicit priority (10000 plus a counter). Rolling back meant recreating the old slot at a higher priority. If the proxy or the DNS API did not answer, the tool refused the operation. In the final round, 140 unit tests and two integration suites of 71 and 45 tests passed.
The quality gate earned its keep. The most critical finding was that Traefik labels baked into an image could take over another site's domain. Team projects were moved to a separate network because of it. One bug that surfaced in production in the web interface was instructive too: the fake helper process in the tests answered in a different shape from the real one, and that had hidden the bug.
Two weeks later the inventory said something else
Two weeks later I listed every project's deploy path one by one. The picture was this:
- 8 different automated deploy methods.
- The only zero-downtime method was my tool, with one registered project.
- The biggest loss was not in deploying but in CI: a median 3894-second wait in the job queue on one project, a 927-second setup repeated on every run on another, a 1776-second integration test on a third.
That day I still declared my own tool the single path; Kamal, Coolify, Dokploy and Dokku were ruled out a second time. A week later I put Coolify back on the table. This time I wrote down what I was accepting. There might be no isolation between teams. The panel is extra attack surface. In exchange, I would not fork the platform but track the official image with a small patch set on top, and follow its security advisories regularly. The panel is not exposed to the internet.
Decision criteria: your own tool versus Coolify
No single feature changed the decision; it was the sum of these criteria.
- Who maintains it: Every line of my tool, every test suite and the web interface were mine. With Coolify, what I maintain is a three-patch set and the install scripts.
- Adoption: One project in two weeks. The tool was technically sound, but a standard nobody moves their deploys to is not a standard.
- The real bottleneck: The measurements showed the loss was in the CI queue. Neither tool fixes that on its own; moving CI to a separate build server was a separate job.
- Where builds happen: I did not use Coolify's own git builds. CI builds the image and pushes it to the registry; the application server only pulls.
- Permissions: On the ready-made platform, a team-level API key handed to every project lets anyone deploy anything. So the key stays on the server only. Each project uses its own SSH key to call a forced command that can deploy only its own application.
- Upgrades: The panel's database migrations cannot be rolled back. A database backup is taken before every upgrade, and on the first major upgrade one of the patches no longer applied to the new version.
I ruled out Dokploy in both rounds; the comparison in this post is between Coolify and my own tool.
I moved the traffic over a bridge
The risky step was changing the proxy: live traffic was going to move from the old Traefik to the Traefik that Coolify installs. I did it with a bridge file. I wrote a script that reads every router and middleware from the old Traefik's live API and writes them as a file into Coolify's proxy. The result was 68/68 routers and 77/77 middlewares, zero missed. All 46 of 46 checks gave the same response before and after the switch.
Two traps came up at this step. An empty section in the bridge file ("middlewares": {}) brings down the whole file provider. And Coolify writes a default rule that returns 503 for any domain it does not know. For rollback I set up a one-minute automatic timer, and I rebooted the server to confirm the setup came back on its own.
Every site cutover taught me something
I moved the sites to Coolify applications one at a time and counted errors on each by sending requests from outside.
- Pilot: On a small internal application, 10 of 10 deploys went through without an error, with a median of 23 seconds. What made that possible were retry, fast-dial and passive health check labels added to Traefik.
- Multi-service staging: Under load, including a rollback drill, 5460 of 5460 requests returned 200.
- The first two sites: I measured short bursts of 5xx during the cutover, 41 and 15 requests. In the very next round one site produced 30 more 503s, and I never found the root cause. After that, 600/600 came back clean, and across 8 deploys all 1662 requests returned 200. Lesson: wait a few seconds between removing the bridge entry and stopping the old container.
- A Node application: 8 seconds of 503. The bridge router's priority was 24 and the new route's was higher. The deploy window in which labels are rewritten went straight to live traffic.
- A site whose home page hits the database: Intermittent 503s for about 3 minutes, 218 requests in total. The health check asked for
/, the page took 475 ms, and Traefik's active health check timed out at 300 ms. On a single-container application, that means Traefik drops its only server and takes the site down. Pointing the health check at/robots.txtfixed it. - A Next.js site: The cutover finished with zero errors. The first deploy right after it gave about 8 seconds of 503 (125 requests), and the next 3 deploys were clean. The root cause is still open.
- 15 WordPress sites: All moved to Coolify's application model. On the sites I measured, the write freeze took 9 to 23 seconds per site, and the monitoring requests were clean (294/294 on one, 796/796 on another).
One incident came from my own testing method. The first load test sent an unbounded stream of background requests, 0.3 seconds apart, to the dynamic home pages of four sites. The old containers hit their memory limit. 425 Apache processes sat in uninterruptible wait (D state), system load reached 939, and the sites did not respond for about 1.5 hours. Since then, live load tests go only to a static path, and sequentially.
The cutover order for near-zero downtime
The lessons above became this order, which I used for every site after them:
- Temporarily raise the priority of the old route in the bridge (I used 1000), so Coolify's new route cannot override live traffic.
- Define the domain and labels in Coolify and deploy the application, with the health check on a static, fast path.
- Remove the bridge entry; traffic is now on the new route.
- Wait 5 seconds, then stop the old container.
- Run the check again a few minutes later and on the first deploy after the cutover; in two cases the 503s showed up exactly then.
With this order I measured zero errors on the bridge path.
What you pay for
Coolify has a price too, and the list is not short:
- Every deploy that changes labels opens a one-off 503 window. Because Coolify keeps the old container until the new one is healthy, that window is long for an application that takes 110 seconds to start. Leave label changes for a maintenance window.
- I had to add the zero-downtime update labels to every application by hand.
- It does not accept
tag@digestas an image reference. Changing the domain resets custom labels, and the API returns custom labels as empty. - It assigns an sslip.io domain to any application without one; you have to clear it with an empty domain.
- The patch set has to be reworked on every upgrade. A database backup before upgrading is mandatory.
The price of your own tool is sneakier: you write everything, you test everything, you carry everything, and if the team does not move to it, you are its only user.
At the end of the move I deleted 62 stopped containers, 13 images and 25 old directories. One of those directories was still the target of a deploy pipeline; the pipeline broke and was rebuilt the same day. Build a deletion list by checking who uses each entry, not by assuming it was migrated.
The principle I took from it: the measure of writing a tool yourself is not whether you can, but how many projects use it two weeks later. Another example of how much weight I give measurement is in the Snapdeck post, how I audit Cloudflare accounts with Claude Code is in the ClaudeFlare post, and my other work is on the projects page.


