1.0 KiB
1.0 KiB
Runbook: Investigating a failed Dokploy deployment
- Open Dokploy project and find the failed run. Note
commit_sha, run id, and timestamp. - Stream or download the run logs. Identify service-level errors (image pull failures, healthcheck failures, compose syntax errors).
- Common checks:
- Image pull/auth errors → verify
REGISTRY_USERNAME/REGISTRY_PASSWORDDokploy secrets. - Compose parsing errors → inspect
docker-compose.ymlin the referenced commit. - Healthcheck failures → check application logs and health endpoint behavior.
- Image pull/auth errors → verify
- If the failure is due to the new commit, consider rollback: trigger manual deploy for the last successful commit SHA via Dokploy UI or the manual deploy payload.
- If credentials are incorrect, rotate secrets in Dokploy and re-run the deployment.
- Document root cause in the deployment run notes and open an incident if production impact is high.
Escalation:
- If unable to resolve within 30 minutes and service is degraded, notify on-call operator and provide run id and logs.