Files
mtusi2026lab2/scripts/restart.sh
T
gamayunov2004 18b419cda2
Student application / application (pull_request) Canceled after 0s
Skeleton contracts / contracts (pull_request) Canceled after 0s
ЛР 2: PostgreSQL, сессии и Valkey — на 4
2026-10-23 18:17:09 +03:00

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