You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
422 B

  1. Param([string] $rootPath)
  2. $scriptPath = Split-Path $script:MyInvocation.MyCommand.Path
  3. Write-Host "Current script directory is $scriptPath" -ForegroundColor Yellow
  4. if ([string]::IsNullOrEmpty($rootPath)) {
  5. $rootPath = "$scriptPath\.."
  6. }
  7. Write-Host "Root path used is $rootPath" -ForegroundColor Yellow
  8. docker-compose -f "$rootPath\docker-compose-external.yml" -f "$rootPath\docker-compose-external.override.yml" up