ЛР 4: S3-вложения, доступ и отказоустойчивость — на 3

This commit is contained in:
2026-11-20 18:13:30 +03:00
parent ec540a1a72
commit 1e18644624
34 changed files with 1929 additions and 33 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/bin/sh
set -eu
case "${TARGET_INSTANCE_ID:-}" in
api1|api2) ;;
*) echo 'TARGET_INSTANCE_ID must be api1 or api2' >&2; exit 2 ;;
esac
. "$(dirname "$0")/lab-containers.sh"
id=$(container "$TARGET_INSTANCE_ID")
docker stop --time 4 "$id"