Перенесите реализацию ЛР 4 на стенд ЛР 5
This commit is contained in:
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/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
|
||||
# Re-run one-shot jobs against the retained data before restoring replicas.
|
||||
docker compose up -d --wait postgres valkey s3
|
||||
docker compose run --rm migrate
|
||||
docker compose run --rm s3-init
|
||||
docker compose up -d --wait
|
||||
sh scripts/wait-ready.sh
|
||||
Reference in New Issue
Block a user