forked from mtusi2026/mtusi2026lab3
ЛР 3: HAProxy + 2 реплики, общая идемпотентность, rolling update
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
0ab3a341aa
commit
a71c582195
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
# Restart hook для make test-persistence: перезапускает ВСЕ реплики API, LB и
|
||||
# хранилища (PostgreSQL, Redis). Volumes сохраняются; ничего не удаляется и не сидится.
|
||||
set -eu
|
||||
cd "$(dirname "$0")/.."
|
||||
docker compose --env-file .env restart postgres redis api lb
|
||||
Reference in New Issue
Block a user