Skip to content

Deployment Precheck

Before deploying a stack, ReadyStackGo automatically runs a Deployment Precheck. This validates all prerequisites to detect problems before containers are removed or recreated.

CheckDescriptionSeverity
Variable ValidationAre all required variables set and valid?Error
Existing DeploymentIs there already a deployment with this stack name?Warning / Error
Image AvailabilityAre all Docker images available locally or remotely?Error
Port ConflictsAre host ports already in use by other containers?Error
Network AvailabilityDo external networks required by the stack exist?Error
Volume StatusDo volumes already exist for this stack?Warning

Open the Stack Catalog and select a product. Click View Details to see the available stacks.

Stack Catalog with available products


On the deploy page, configure the Stack Name and Environment Variables. The precheck starts automatically once a valid stack name is entered.

Deploy page with stack configuration


The Deployment Precheck panel appears below the configuration and shows the results of all checks:

  • Green – Check passed
  • Yellow – Warning (deployment possible, but review the note)
  • Red – Error (deployment blocked)

Precheck panel with results – all checks passed


Use the Re-Check button to re-run all checks at any time – for example, after changing a variable or pulling a missing Docker image.

Precheck panel with Re-Check button


When all checks pass (no errors), the Deploy button is enabled. If there are errors, the button is disabled and you must fix the issues first.

Deploy button enabled after successful precheck


Checks whether all variables marked as Required have a value and whether values match defined patterns. Each missing or invalid variable is reported as a separate error.

Detects whether a deployment with the same stack name already exists:

Existing Deployment StatusResult
RunningWarning – upgrade scenario
Installing / UpgradingError – deployment blocked
FailedWarning – retry scenario
RemovedOK – fresh install

Checks for each service whether the Docker image is available locally or can be pulled remotely. For private registries, authentication is also validated.

Detects whether host ports are already in use by running containers. Containers belonging to the same stack (upgrade scenario) are excluded.

Checks whether external networks required by the stack exist. Stack-managed networks are automatically created during deployment.

Reports whether named volumes already exist:

  • New volume → OK (will be created during deployment)
  • Existing volume during upgrade → OK (data preserved)
  • Existing volume during fresh install → Warning (existing data will be reused)

The precheck can also be executed via the Hooks API without starting an actual deployment:

Terminal window
curl -X POST http://rsgo:8080/api/hooks/deploy \
-H "X-API-Key: rsgo_your_key" \
-H "Content-Type: application/json" \
-d '{
"stackName": "my-stack",
"stackId": "source:stack:version",
"dryRun": true
}'

With dryRun: true, only the precheck is executed and the result is returned. If there are errors, the API responds with 422 Unprocessable Entity.


  • Timeout: The entire precheck has a 30-second timeout
  • Individual rule failures: If a single check fails, it is reported as a warning – other checks continue running
  • Docker connection errors: Reported immediately as an error
  • Precheck failures: If the precheck itself fails (e.g. network issues), deployment can still proceed