Files
mtusi2026lab2/scripts/restart.sh
T

7 lines
269 B
Bash
Executable File

#!/bin/sh
set -eu
cd "$(dirname "$0")/.."
# Stage this script with Git mode 100755; filesystem chmod alone is insufficient on Windows.
# All three application dependencies are restarted; volumes are preserved.
docker compose --env-file .env restart api postgres valkey