доработки в файлах раскатки

This commit is contained in:
mi
2026-07-13 13:44:06 +03:00
parent 8c7b4074c4
commit 4d8e856fd8
5 changed files with 1506 additions and 0 deletions
+9
View File
@@ -20,6 +20,15 @@ downgrade, or a mutable image tag during deployment.
## Gate 2 — VM hardening
On a fresh Ubuntu 24.04 VM, run:
```sh
sudo deployment/scripts/setup-vm.sh
```
Before setting `HARDEN_SSH=true`, verify key-based access in a separate SSH
session. The script header documents its parameters and safe defaults.
- [ ] Ubuntu 24.04, NTP, unattended security updates and disk alerts are active.
- [ ] Key-only deploy account works in a second session; root/password SSH is off.
- [ ] UFW/cloud SG and `DOCKER-USER` policy survive reboot.