Files
mtusi2026lab2/scripts/restart.sh
T

8 lines
253 B
Bash

#!/bin/sh
set -eu
# Restart API and all state stores while preserving volumes.
# Readiness is waited by tests/resilience.py separately (do not block here forever).
cd "$(dirname "$0")/.."
docker compose --env-file .env restart postgres redis api
exit 0