Files
mtusi2026lab3/scripts/restart.sh
T

8 lines
232 B
Bash
Executable File

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