ЛР 3 — БВТ-2302 — Сабитов — на 3

This commit is contained in:
2026-12-01 18:09:13 +03:00
parent 0ab3a341aa
commit d79bf5c481
36 changed files with 1944 additions and 36 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/bin/sh
set -eu
cd "$(dirname "$0")/.."
case "${TARGET_INSTANCE_ID:-}" in
api1|api2) target="$TARGET_INSTANCE_ID" ;;
*) echo 'Expected TARGET_INSTANCE_ID=api1 or api2' >&2; exit 2 ;;
esac
docker compose --env-file .env stop -t 3 "$target"
# Only a nonsecret service alias, used by verification to prove both targets.
printf '%s\n' "$target" > evidence/last-stopped.txt