12 lines
422 B
PowerShell
12 lines
422 B
PowerShell
Param([string] $rootPath)
|
|
$scriptPath = Split-Path $script:MyInvocation.MyCommand.Path
|
|
|
|
Write-Host "Current script directory is $scriptPath" -ForegroundColor Yellow
|
|
|
|
if ([string]::IsNullOrEmpty($rootPath)) {
|
|
$rootPath = "$scriptPath\.."
|
|
}
|
|
Write-Host "Root path used is $rootPath" -ForegroundColor Yellow
|
|
|
|
docker-compose -f "$rootPath\docker-compose-external.yml" -f "$rootPath\docker-compose-external.override.yml" up
|