This commit is contained in:
pampixz
2026-11-12 13:06:36 +03:00
parent 0ab3a341aa
commit ab766a5b5b
14 changed files with 560 additions and 36 deletions
+7
View File
@@ -0,0 +1,7 @@
#!/bin/sh
set -eu
cd "$(dirname "$0")/.."
case "${TARGET_INSTANCE_ID:-}" in
api1|api2) docker compose --env-file .env stop -t 2 "$TARGET_INSTANCE_ID" ;;
*) echo "Unknown TARGET_INSTANCE_ID" >&2; exit 2 ;;
esac