10 lines
400 B
Bash
Executable File
10 lines
400 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
# Restart the API replicas, the balancer, the worker and ALL state stores used
|
|
# by this stack (PostgreSQL, Valkey, S3, RabbitMQ). Volumes are preserved;
|
|
# schema, bucket, queues 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
|
|
exit 0
|