Lab 2: PostgreSQL sessions and recovery experiment
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user