feat: implement lab3 API load balancing and failover
This commit is contained in:
Executable
+9
@@ -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"
|
||||
Reference in New Issue
Block a user