This commit is contained in:
2026-10-30 16:39:32 +03:00
parent 0ab3a341aa
commit 117a7783aa
28 changed files with 1049 additions and 37 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"