forked from mtusi2026/mtusi2026lab5
11 lines
374 B
Bash
Executable File
11 lines
374 B
Bash
Executable File
#!/bin/sh
|
|
# Restart hook of `make test-persistence`: stops the whole stand gracefully and
|
|
# starts the same containers again; volumes are kept.
|
|
set -eu
|
|
cd "$(dirname "$0")/.."
|
|
docker compose stop
|
|
# Compose starts both one-shot jobs and waits for their successful exit
|
|
# before either API replica or the worker can start.
|
|
docker compose up -d --wait
|
|
sh scripts/wait-ready.sh
|