ЛР 5 — БВТ2304 — Черников — на 4

This commit is contained in:
2026-11-11 23:56:28 +03:00
parent 276dbdad8a
commit 0b399073d6
77 changed files with 6838 additions and 27 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/bin/sh
# Hook for: make test-persistence ACTION_SCRIPT=scripts/restart.sh
# Restarts the whole stand: all API replicas, PostgreSQL, Valkey and the load balancer,
# keeping the named volumes: no "down -v", no FLUSHALL, no re-seed.
# The test itself waits for API readiness through the load balancer afterwards.
set -eu
cd "$(dirname "$0")/.."
docker compose stop api worker dispatcher
docker compose restart postgres valkey s3 broker
docker compose start api dispatcher worker
docker compose restart lb