Implement lab4 S3 attachments

This commit is contained in:
2026-11-11 18:55:53 +03:00
parent ec540a1a72
commit d894764b39
44 changed files with 1333 additions and 23 deletions
+7
View File
@@ -0,0 +1,7 @@
#!/bin/sh
set -eu
cd "$(dirname "$0")/.."
case "${TARGET_INSTANCE_ID:-}" in
api1|api2) exec docker compose --env-file .env stop -t 2 "$TARGET_INSTANCE_ID" ;;
*) echo 'Unknown TARGET_INSTANCE_ID; refusing to stop an arbitrary service' >&2; exit 2 ;;
esac