Files
mtusi2026lab4/scripts/restart.sh
2026-11-13 11:05:05 +03:00

8 lines
222 B
Bash
Executable File

#!/bin/sh
set -eu
cd "$(dirname "$0")/.."
./scripts/compose.sh stop api lb
./scripts/compose.sh restart postgres redis s3
./scripts/compose.sh run --rm -T s3-init
./scripts/compose.sh up -d --wait --wait-timeout 90 api lb