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

7 lines
231 B
Bash

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