feat: implement lab3 API load balancing and failover

This commit is contained in:
sashadugina06
2026-11-06 01:43:33 +03:00
parent 0ab3a341aa
commit 7088791d5c
116 changed files with 7971 additions and 38 deletions
Executable
+9
View File
@@ -0,0 +1,9 @@
#!/bin/sh
set -eu
cd "$(dirname "$0")/.."
python3 scripts/bootstrap.py
scripts/compose.sh config --quiet
scripts/compose.sh up -d --build
export BASE_URL="http://localhost:$(sed -n 's/^PUBLIC_PORT=//p' .env)"
python3 scripts/wait-ready.py
printf 'API and Swagger: %s/docs\n' "$BASE_URL"