forked from mtusi2026/mtusi2026lab4
9 lines
400 B
Bash
Executable File
9 lines
400 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Restart hook for `make test-persistence ACTION_SCRIPT=scripts/restart.sh`.
|
|
# Semantic and evidence notes: tests/README.md ("Проверка сохранности") and REPORT.md.
|
|
set -euo pipefail
|
|
|
|
compose=(docker compose --env-file .env)
|
|
"${compose[@]}" restart postgres redis s3 api haproxy
|
|
"${compose[@]}" up -d --no-recreate --no-deps --wait postgres redis s3 api haproxy
|