Files
mtusi2026lab2/scripts/restart.sh
T
2026-10-26 17:50:20 +03:00

6 lines
195 B
Bash

#!/bin/sh
set -eu
cd "$(dirname "$0")/.."
# Restart the API, PostgreSQL and the session cache. Named volumes stay; nothing is re-seeded.
docker compose --env-file .env restart api postgres redis