12 lines
478 B
Bash
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
|