feat(lab4): implement S3 attachments and image validation

This commit is contained in:
Otto
2026-11-03 00:59:46 +03:00
parent ec540a1a72
commit fc04eb4b7c
37 changed files with 1636 additions and 40 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/bin/sh
set -eu
cd "$(dirname "$0")/.."
case "${TARGET_INSTANCE_ID:-api1}" in
api1|api2) target="${TARGET_INSTANCE_ID:-api1}" ;;
*) echo "Unknown API replica" >&2; exit 2 ;;
esac
docker compose --env-file .env stop "$target"