Files
mtusi2026lab2/scripts/restart.sh
T
sabitov_bvt2302 ff7296c240
Lab 2 application / postgres (pull_request) Canceled after 0s
Skeleton contracts / contracts (pull_request) Canceled after 0s
ЛР 2 — БВТ-2302 — Сабитов — на 3
2026-12-01 00:50:23 +03:00

7 lines
223 B
Bash
Executable File

#!/bin/sh
# Explicit persistence test hook. Retains the named database volume.
set -eu
cd "$(dirname "$0")/.."
docker compose --env-file .env stop api db
docker compose --env-file .env up -d --wait --wait-timeout 45 db api