Files
mtusi2026lab6/scripts/restart.sh
T
2026-11-17 13:08:13 +03:00

8 lines
310 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 prometheus loki tempo otel-collector grafana
./scripts/compose.sh run --rm -T s3-init
./scripts/compose.sh up -d --wait --wait-timeout 90 api lb worker dispatcher