Files
mtusi2026lab3/scripts/restore-api.sh
T

8 lines
236 B
Bash
Executable File

#!/bin/sh
set -eu
# Restore the API service to the desired replica count after a failover test.
# Stopped replicas are started again; volumes and data are untouched.
cd "$(dirname "$0")/.."
docker compose up -d --no-recreate api
exit 0