Lab4: MinIO attachments

This commit is contained in:
2026-11-12 22:56:12 +03:00
parent ec540a1a72
commit 01ae369a4a
28 changed files with 1937 additions and 22 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/bin/sh
set -eu
cd "$(dirname "$0")/.."
: "${TARGET_INSTANCE_ID:?test provides target API instance alias}"
case "$TARGET_INSTANCE_ID" in
api1|api2)
docker compose --env-file .env stop "$TARGET_INSTANCE_ID"
;;
*)
printf '%s\n' "unknown TARGET_INSTANCE_ID: $TARGET_INSTANCE_ID" >&2
exit 1
;;
esac