调整lsfx-mock默认数据库配置并更新NAS部署环境
This commit is contained in:
@@ -95,6 +95,12 @@ Copy-ItemSafe (Join-Path $repoRoot "ruoyi-ui\\dist") (Join-Path $stageRoot "fron
|
||||
Copy-ItemSafe (Join-Path $repoRoot "docker-compose.yml") (Join-Path $stageRoot "docker-compose.yml")
|
||||
Copy-ItemSafe (Join-Path $repoRoot ".env.example") (Join-Path $stageRoot ".env.example")
|
||||
Copy-ItemSafe (Join-Path $repoRoot "ruoyi-admin\\target\\ruoyi-admin.jar") (Join-Path $stageRoot "backend\\ruoyi-admin.jar")
|
||||
python (Join-Path $scriptDir "render_nas_env.py") `
|
||||
--template (Join-Path $repoRoot ".env.example") `
|
||||
--output (Join-Path $stageRoot ".env")
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
throw "生成 NAS 部署 .env 失败"
|
||||
}
|
||||
|
||||
Write-Host "[5/5] 上传并远端部署"
|
||||
$paramikoCheck = @'
|
||||
|
||||
Reference in New Issue
Block a user