lab7: HTTPS+mTLS, OpenBao AppRole, Argon2id, rate limits, hardening

This commit is contained in:
2026-11-19 20:48:27 +03:00
parent 20afc2c790
commit 5e98b1b5af
67 changed files with 3169 additions and 87 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/bin/sh
set -eu
: "${TARGET_INSTANCE_ID:?}"
case "$TARGET_INSTANCE_ID" in
api-1) SVC=api1 ;;
api-2) SVC=api2 ;;
*) echo "unknown instance alias: $TARGET_INSTANCE_ID" >&2; exit 1 ;;
esac
docker compose --env-file .env stop "$SVC"