лаба на 3

This commit is contained in:
2026-10-15 00:18:02 +03:00
parent 0ab3a341aa
commit d3bb55ba09
29 changed files with 2397 additions and 18 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/usr/bin/env bash
set -euo pipefail
: "${TARGET_INSTANCE_ID:?}"
case "$TARGET_INSTANCE_ID" in
api-1|api-2)
docker compose stop "$TARGET_INSTANCE_ID"
;;
*)
echo "Unknown instance: $TARGET_INSTANCE_ID" >&2
exit 1
;;
esac