Skip to content

Deployments Overview

Deployments are how your code gets from GitHub to your server. You can trigger them manually from the dashboard or automatically on git push.

Your source code is cloned and built directly on your server. It never passes through Reoclo’s infrastructure.

To run tests instead of shipping code, declare them in your repository and run them on machines Reoclo creates in your cloud account. See Test servers and Run tests on test servers.

Open an application to see its serving state, recorded deployment and configuration.

  • Serving shows the observed runtime status, configured public URL or published address, server, application check and replica counts. A public URL describes routing configuration; it does not verify DNS, TLS or reachability.
  • Application check is the application’s configured health check, not an uptime monitor. Passed and Failed describe a recent result. Last result stale means the result is overdue; Last result unavailable means no usable result was recorded. Not configured means the application has no check. Open a relative timestamp to see the full date and time.
  • Current deploy identifies the recorded deployed version. Its route contains the stages recorded for that deployment. Commit messages are unavailable for older records that did not capture them. View deployment opens that exact run and its logs.
  • A new attempt appears separately while it runs or after it fails. Still serving appears only when recent runtime observations support it. A retained deployment record alone does not prove that the application is serving.
  • Configuration groups build, networking, health and resource settings. Edit in Settings opens the matching section.
  • Connections lists dependencies and the variable names they inject. Use Add connection to configure another dependency.

Missing runtime evidence is shown as unavailable, not as healthy or zero replicas. A stale server shows its last observed state and timestamp.

Navigate to your application in the dashboard and click Deploy. This deploys the latest commit from the configured branch immediately.

Use manual deployments when you want explicit control over when code ships to production.

Enable auto-deploy in your application settings to trigger deployments automatically when you push to the configured branch.

Auto-deploy is great for staging environments or development servers where you want continuous deployment. For production apps that need manual approval, leave it disabled.

StateMeaning
pendingReoclo recorded the deployment and has not started it.
queuedThe deployment waits because your organization is at its plan’s concurrent deployment limit.
waiting_ciReoclo is waiting for the commit’s CI checks to finish. See Wait for CI before a deployment.
cloningReoclo is cloning the repository onto the target server.
buildingReoclo is building the Docker image.
pushingReserved. Current pipelines do not normally enter this state.
deployingReoclo is starting the new container.
succeededThe deployment finished and the new container is live and healthy.
runningLegacy spelling of succeeded on deployments recorded before September 2026.
failedThe deployment did not finish. Check the application’s runtime state and deployment logs.
cancelledYou or Reoclo stopped the deployment before it finished.
rolled_backReserved. A deployment that was reverted shows this state. Current pipelines report a failed deploy with the previous container still live instead.

While a deployment waits, its waiting_on field says on what and since when: a free deploy slot, the build server, a build or up step on your server, or a runner that lost its connection and has not yet reported a result. Read it with reoclo deployments get <id> -o json or reoclo groups deployment <group> <n> -o json.

The same records show whether Reoclo is still executing the deployment: executor_heartbeat_at is renewed every 30 seconds while it runs, and a past executor_expires_at means nothing is running it any more. A stack’s deploy_lock_id names the deployment holding its lock. A lock whose holder has finished, or is no longer being executed, is taken over by the next deployment instead of blocking it.

Cancel a queued, running, or stuck deployment with reoclo deployments cancel or, for a stack, reoclo groups cancel. The API equivalents are POST /tenants/{tenant_id}/deployments/{deployment_id}/cancel and POST /tenants/{tenant_id}/application-groups/{group_id}/deployments/{group_deployment_id}/cancel.

A deployment Reoclo is not executing stops at once. One it is executing stops now: a build on a build server is stopped, so is a step already running on a runner-connected server, such as a build, and on an SSH server the deployment stops when the current step ends. The step that replaces your running services (the deploy step, or up for a stack) always finishes first, so the deployment reports what it changed.

For supported single-container deployments, Reoclo replaces each replica with a health-gated swap:

  1. Reoclo stops the old container and keeps it as a backup
  2. The new container starts and its health check runs
  3. When the check passes, Reoclo removes the old container
  4. When the check fails, Reoclo removes the new container and starts the old one again

The old container is stopped while the new one starts, because both would bind the same host port. Applications that publish no host port can use blue-green deploys instead.

Compose and custom pipelines can change running services before a failure. Check Serving rather than assuming the previous deployment is still live.

Two kinds of application publish no host port: internal-only applications, and any application on a server whose proxy Reoclo manages. Their new version can start before the old one stops. With blue-green deploys on, each replica rolls out like this:

  1. The new container starts beside the running one, on the application’s project network only, so it receives no traffic yet
  2. Reoclo runs the health check against the new container, inside its own network
  3. When the check passes, the new container joins the networks the running one serves on and takes over its container name, and the old one gets 30 seconds to finish open requests before it stops
  4. When the check fails, Reoclo removes the new container and the running version keeps serving

On a server whose proxy Reoclo manages, the proxy sends requests to both containers in the moment between the new one joining and the old one stopping.

Turn it on in the application’s Settings, under Health check. Reoclo lists the requirements before it turns the setting on:

  • A health check. HTTP and TCP checks run from a short-lived busybox container that shares the new container’s network, so your image needs no extra tools. The server pulls busybox from Docker Hub the first time. Command checks run inside the container. The application’s regular health checks run the same way.
  • No published host port. The application is internal-only, or runs on a server whose proxy Reoclo manages. If that stops being true, deploys keep the standard swap and the deploy log says so.
  • Two versions at once. The old and new versions run side by side until the new one passes its check. Database migrations must work with the previous version still running, and work that must happen once needs a lock.
  • Room for one more copy. During each switch the server runs one extra copy with the same CPU and memory limits.
  • Dependencies on the project network. During its check the new container is on the project network only. Services it reaches through service connections are there; reaching anything else waits until it takes over.
  • A clean shutdown. The old container receives SIGTERM after the switch and is stopped 30 seconds later.
  • Clients that reconnect. Services find the new version under the same container name. Clients that hold long-lived connections must reconnect when the old container stops.

The API setting is deploy.blue_green.

A service in a stack, and a standalone Docker Compose application, can use blue-green deploys too. Turn it on in the service’s Settings, or for the whole stack under Deploys in the stack’s Settings. Compose starts the new container beside the running one with its service name and proxy alias held back, and the new container takes over only when its health check passes. When the check fails, the running version keeps serving and the deployment ends partial.

Stack deploys also update the services that nothing gated depends on only after every gate has passed. See Blue-green deploys for stacks for what gets gated, how long the gate waits, how forced and scoped redeploys behave, and how to recover from a partial deployment.

The dashboard shows deployment history with:

  • Status, one of the deployment states described earlier
  • Duration
  • Commit SHA and message
  • Full pipeline logs

Click any deployment to see the complete log output. This is useful for debugging build failures or understanding why a health check failed.

For a standalone application built from a linked Git repository, Previous shows the earlier successful deployment with a different revision. Choose Roll back and review the source, target commit, server and expected current deployment before confirming.

Rollback creates a new deployment that rebuilds the previous commit with the current settings and environment. It does not restore databases, files or volumes. If the application reads its pipeline from the repository, the pipeline file at the selected commit applies.

When auto deploy is enabled, the next push to the configured branch deploys again. Change that setting separately if you need to keep the rolled-back revision.

If another deployment wins the race, Reoclo refreshes the displayed version and requires another confirmation. Refused requests show the server’s reason. A request waiting for CI can be superseded by a rollback; an active deployment must finish first.

The new attempt appears in Current deploy while it runs. After success, it becomes the recorded current version. Its next Previous target is older than the revision you restored, rather than the newer revision you just left.

Docker image applications, inline Compose applications and stack members do not offer standalone rollback. A target also needs a recorded full commit SHA from the repository currently linked to the application. Stack members recover through their owning stack.