forked from mtusi2026/mtusi2026lab3
ЛР 3 — БПИ2302 — Щербацевич — на 5
This commit is contained in:
@@ -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 }
|
||||
Reference in New Issue
Block a user