Files
mtusi2026lab2/scripts/restart.sh
T
2026-10-26 16:42:32 +03:00

6 lines
170 B
Bash

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