Files
mtusi2026lab4/scripts/restart.sh
T

10 lines
356 B
Bash
Executable File

#!/bin/sh
set -eu
# Restart the API replicas, the balancer and ALL state stores used by this stack
# (PostgreSQL, Valkey, S3). Volumes are preserved; schema, bucket 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 s3
exit 0