Files
mtusi2026lab4/scripts/restart.sh
T

8 lines
239 B
Bash
Executable File

#!/bin/sh
# Restarts the balancer, every API replica, PostgreSQL, Redis and S3, keeping the named volume (no `down -v`, no re-seed).
set -eu
cd "$(dirname "$0")/.."
docker compose stop lb api redis postgres s3
docker compose up -d --wait