Files
mtusi2026lab5/scripts/restart.sh
T
2026-11-13 12:48:18 +03:00

8 lines
265 B
Bash
Executable File

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