Files
mtusi2026lab2/scripts/restart.sh
T
2026-10-21 20:10:27 +03:00

7 lines
244 B
Bash
Executable File

#!/bin/sh
set -eu
# Restart every stateful component used by the application without deleting the
# named PostgreSQL/Redis volumes. The persistence test waits for readiness afterwards.
docker compose --env-file .env restart postgres redis api