forked from mtusi2026/mtusi2026lab5
Лабораторная 5
This commit is contained in:
Executable
+16
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
case "${TARGET_INSTANCE_ID:-}" in
|
||||
api-1)
|
||||
docker compose stop api1
|
||||
;;
|
||||
api-2)
|
||||
docker compose stop api2
|
||||
;;
|
||||
*)
|
||||
echo "Unknown TARGET_INSTANCE_ID" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user