Files
mtusi2026lab7/scripts/restart.sh
T
ejur22 d995f98446
Skeleton contracts / contracts (pull_request) Canceled after 0s
Lab 7
2026-11-27 20:47:58 +03:00

12 lines
478 B
Bash

#!/bin/sh
set -eu
# Restart the API replicas, the balancer, the worker, all state stores
# (PostgreSQL, Valkey, S3, RabbitMQ) and the observability stack. Volumes are
# preserved; schema, bucket, queues, telemetry history and data are never
# dropped or re-seeded. Used by:
# make test-persistence ACTION_SCRIPT=scripts/restart.sh
cd "$(dirname "$0")/.."
docker compose restart api lb worker postgres valkey s3 broker \
otel-collector prometheus loki tempo grafana
exit 0