Lab 2: PostgreSQL sessions and recovery experiment

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-11-16 22:33:15 +03:00
co-authored by Copilot
parent 65003b6119
commit c2b9df52df
37 changed files with 2128 additions and 46 deletions
+12
View File
@@ -0,0 +1,12 @@
$ErrorActionPreference = "Stop"
$repo = Split-Path -Parent $PSScriptRoot
Set-Location $repo
if (-not (Test-Path ".env")) {
throw "Copy .env.example to .env and configure local credentials first."
}
docker compose --env-file .env up -d --force-recreate --build postgres redis api
if ($LASTEXITCODE -ne 0) { throw "Compose restart failed" }
docker compose --env-file .env ps