Deployment Checklist¶
Checklist for deploying a new release of Docling Studio. Applies to both self-hosted and Hugging Face Space deployments.
Pre-Deploy¶
- [ ] Release branch merged to
mainvia PR - [ ] Git tag
vX.Y.Zcreated onmain - [ ] Release audit passed (score >= 80, 0 CRITICAL) — see docs/audit/master.md
- [ ]
CHANGELOG.mdsection finalized with release date - [ ]
frontend/package.jsonversion matches the tag - [ ] All CI checks green on the tagged commit
- [ ] Docker images built and pushed to
ghcr.io: X.Y.Z-remote,X.Y.Z-localX.Y-remote,X.Y-locallatest-remote,latest-local
Deploy — Self-Hosted (Docker Compose)¶
- [ ] Pull the new image:
- [ ] Check environment variables (
.envordocker-compose.override.yml): CONVERSION_ENGINE(local / remote)RATE_LIMIT_RPMMAX_FILE_SIZE_MBMAX_CONCURRENT_ANALYSES- [ ] Start the stack:
- [ ] Verify health endpoint:
Deploy — Hugging Face Space¶
- [ ] Upload to HF Space via
huggingface-cli: - [ ] Set environment variables in HF Space settings
- [ ] Wait for build to complete in HF Space logs
- [ ] Verify the app loads and health endpoint returns correct version
Post-Deploy Smoke Test¶
- [ ] Home page loads
- [ ] Upload a PDF — document appears in the list
- [ ] Run an analysis — completes without error
- [ ] View results — markdown, HTML, bbox overlays render correctly
- [ ] Download results
- [ ] If local mode: test chunking
- [ ] Check
/api/healthreturns the new version
Rollback Triggers¶
Rollback immediately if any of these occur:
| Trigger | Action |
|---|---|
| Health endpoint returns error or wrong version | Rollback |
| Upload or analysis fails on a previously working PDF | Rollback |
| Frontend shows blank page or JS errors | Rollback |
| Error rate > 5% in the first 15 minutes | Rollback |
For rollback procedure, see rollback-playbook.md.