перенесенная вторая и лабораторная 3

This commit is contained in:
2026-11-20 17:32:05 +03:00
parent 0ab3a341aa
commit 0a2eeda753
18 changed files with 975 additions and 13 deletions
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
set -eu
docker compose up -d --build
+7
View File
@@ -0,0 +1,7 @@
#!/bin/sh
set -eu
: "${TARGET_INSTANCE_ID:?TARGET_INSTANCE_ID is required}"
case "$TARGET_INSTANCE_ID" in
api1|api2) docker compose stop "$TARGET_INSTANCE_ID" ;;
*) echo "unknown API instance" >&2; exit 2 ;;
esac