add production readiness and recovery assets

This commit is contained in:
Marco0300
2026-09-03 12:38:27 +02:00
parent 537a2a6f0a
commit 6b41d5b9ee
25 changed files with 540 additions and 18 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/bin/sh
set -eu
cat >&2 <<'EOF'
Rollback is a documented, non-destructive procedure. No rollback command is executed.
1. Identify the last known-good immutable image digest/tag and configuration revision.
2. Confirm the database backup is recent and run scripts/healthcheck.sh against the candidate.
3. Review the exact rendered config: docker compose config.
4. Change the deployment's image tag/digest in the deployment system (or pin IMAGE_TAG), then restart the service through the approved change process.
5. Verify /api/v1/health/ready, representative authenticated reads, logs, and outreach_enabled=false.
6. Record the rollback reason, old/new image digests, config revision, backup/checksum, and operator.
This helper intentionally does not stop containers, delete images, restore databases, or alter production state.
EOF