功能:新增云管API与Web控制台并完成现场接入
This commit is contained in:
1 parent
18a9ce995d
commit
3fb7b4da8c
79 files changed
+17367
-3
No files matched your search
@@ -0,0 +1,13 @@
|
||||
param([switch]$Build)
|
||||
$ErrorActionPreference='Stop'
|
||||
$vdiRoot=Split-Path -Parent $PSScriptRoot
|
||||
Push-Location $vdiRoot
|
||||
try {
|
||||
if (!(Test-Path -LiteralPath '.local/live/.env')) { throw 'Configure PVE access and run tools/prepare-live-config.py first. See docs/cloud-live-integration.md.' }
|
||||
$vdiArgs=@('compose','--env-file','.local/live/.env','-f','deploy/compose.live.yml','up','-d')
|
||||
if ($Build) { $vdiArgs+='--build' }
|
||||
& docker @vdiArgs
|
||||
if ($LASTEXITCODE -ne 0) { throw 'Live platform startup failed' }
|
||||
Write-Host 'Real platform: http://127.0.0.1:5182'
|
||||
Write-Host 'Private initial administrator credentials: .local/live/admin-login.txt'
|
||||
} finally { Pop-Location }
|
||||
Reference in new issue
Block a user