ЛР 3 — БПИ2302 — Щербацевич — на 5

This commit is contained in:
2026-11-11 23:55:42 +03:00
parent 0ab3a341aa
commit 7aa4ea541b
76 changed files with 4627 additions and 34 deletions
+6
View File
@@ -0,0 +1,6 @@
$ErrorActionPreference = "Stop"
$Root = Split-Path -Parent $PSScriptRoot
Set-Location $Root
if (-not $env:API_REPLICAS) { $env:API_REPLICAS = "2" }
docker compose --env-file .env up -d --build --wait --scale "api=$($env:API_REPLICAS)"
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }