forked from xhgit/webup-cloud
Initial import of WebUp Cloud
This commit is contained in:
commit
db82325ed7
216 files changed
+33718
No files matched your search
@@ -0,0 +1,8 @@
|
||||
$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'
|
||||
Reference in new issue
Block a user