Реализовать лабораторную 4

This commit is contained in:
Krep4334
2026-11-13 18:22:54 +03:00
parent ec540a1a72
commit f6288b068e
28 changed files with 1634 additions and 40 deletions
+7
View File
@@ -0,0 +1,7 @@
#!/bin/sh
set -eu
cd "$(dirname "$0")/.."
case "${TARGET_INSTANCE_ID:-}" in
api-a|api-b) docker compose stop --timeout 5 "$TARGET_INSTANCE_ID" ;;
*) exit 2 ;;
esac