Zero-Downtime deployment #3767
Replies: 9 comments 24 replies
-
Looks like it should be doable with |
Beta Was this translation helpful? Give feedback.
-
Maybe if this is not something that will be in Coolify natively, there could be some documentation how users can set it up for themselves with the proxy in Coolify? @andrasbacsai @peaklabs-dev |
Beta Was this translation helpful? Give feedback.
-
Any comments or feedback regarding this one @peaklabs-dev @andrasbacsai ? |
Beta Was this translation helpful? Give feedback.
-
+1 |
Beta Was this translation helpful? Give feedback.
-
@peaklabs-dev @andrasbacsai This could be a done quite easily as long as persistent storage is left out of the equation. |
Beta Was this translation helpful? Give feedback.
-
@andrasbacsai @peaklabs-dev Thoughts? |
Beta Was this translation helpful? Give feedback.
-
any updates ? any ideas , this is what holding me back to launch my website with coolify |
Beta Was this translation helpful? Give feedback.
-
I would say this is the feature which would stop a lot of production projects from launching using Coolify. In my job, it was normal for Java or Python services to take take up to 30s to start. On Kubernetes it was no big deal, because it supports zero downtime deployments out of the box. I still think Coolify is still better alternative than Kubernetes for most of the non-enterprise projects. But this feature would allow software architects to explain the value of it to the necessary stakeholders. |
Beta Was this translation helpful? Give feedback.
-
So what's the status of zero downtime deployment and rolling updates? I see the documentation only refers to losing rolling updates if you do use port mappings. But the comments in this thread by @djsisson and @oribenez (thanks for helping out on this btw!) seem to imply you lose it if you don't use port mappings. Additionally, the port expose seems like a required value. If I try to do what @oribenez proposes, not using port expose, the form validation blocks me. Am I doing something wrong? I'm using the nix build here, but happy to switch to docker if it helps. Loving Coolify so far, but zero-downtime deployments are a must, and I would hate to have to migrate off of coolify. |
Beta Was this translation helpful? Give feedback.
-
For more production ready / production apps, zero-downtime deployments is a very nice feature to have (in my eyes a must).
Should not be to much of work to implement something with the current Traefik / Docker compose setup that Coolify has; found this nice guide on structuring it as a blue-green deployment strategy:
https://www.maxcountryman.com/articles/zero-downtime-deployments-with-docker-compose
Beta Was this translation helpful? Give feedback.
All reactions