Files
WebUp Cloud db82325ed7
Verify control plane / verify (push) Canceled after 0s
Initial import of WebUp Cloud
2026-11-07 13:31:14 +08:00

9 lines
635 B
PowerShell

$ErrorActionPreference = 'Stop'
$projectRoot = Split-Path -Parent $PSScriptRoot
Set-Location -LiteralPath $projectRoot
if (!(Test-Path -LiteralPath '.env')) { throw 'Copy .env.example to .env and configure independent random passwords first.' }
if ((Get-Content -LiteralPath '.env' -Raw) -match 'CHANGE_ME') { throw 'Replace every CHANGE_ME placeholder in .env before starting.' }
docker compose --env-file .env up --build -d
if ($LASTEXITCODE -ne 0) { throw 'Docker Compose failed. Check Docker engine and logs.' }
Write-Host 'Console: http://localhost:8088 (or configured HTTP_PORT). Inspect startup: docker compose logs -f backend'