Files
mtusi2026lab3/scripts/restart.sh
T

9 lines
316 B
Bash
Executable File

#!/bin/sh
set -eu
# Restart the API replicas, the balancer and ALL state stores used by this stack.
# Volumes are preserved; schema and data are never dropped or re-seeded.
# Used by: make test-persistence ACTION_SCRIPT=scripts/restart.sh
cd "$(dirname "$0")/.."
docker compose restart api lb postgres valkey
exit 0