ImprovedDeploys

Zero-downtime deploys for Docker Compose and Node.js workers

Free and paid plans

Zero-downtime deploys for Docker Compose and Node.js workers

With Release mode on, each deploy builds a new release next to the live one, checks it, and only then switches traffic to it, so visitors never see a half-deployed site. Before, Docker Compose sites and Node.js apps with background workers couldn’t use it. Now they can.

Who it’s for: developers who deploy from Git.

  • Docker Compose sites: a Compose app with one web service built from your repository, plus a database or other supporting services, keeps serving the current version until the new one is ready.
  • Node.js apps with PM2 workers: keep one web app and any number of workers in your ecosystem.config.js. The web app switches first, then the workers restart from the new release.
  • Roll back in one click: the release list on the site’s Git page has a Rollback button for each earlier release.
  • Clear messages: when Release mode can’t be turned on for a site, the message now says why and what to do next.

How to use zero-downtime deployments · Zero-downtime deployments on xCloud