forked from mtusi2026/mtusi2026lab4
перенос: реализация lab3 без изменений (API, миграции 0001-0003, HAProxy, Valkey, тесты)
Исходники, Dockerfile, compose.yaml, скрипты и собственные тесты скопированы из mtusi2026lab3 (ветка solution/bvt2302-bodanyuk, b6847e2) как есть; изменения lab4 — отдельными коммитами. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
ec540a1a72
commit
d916d09f7b
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
# Start every stopped API replica again (after scripts/stop-one.sh) and wait until Docker
|
||||
# reports them healthy. The LB picks them up by itself (DNS re-resolution + checks, ~2-3 s);
|
||||
# `python scripts/lbctl.py wait-up 2` waits for that explicitly.
|
||||
set -eu
|
||||
cd "$(dirname "$0")/.."
|
||||
docker compose up -d --no-recreate --no-deps --wait api
|
||||
docker compose ps api --format '{{.Name}} {{.Status}}'
|
||||
Reference in New Issue
Block a user