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.
recyclarr/docker/DockerRun.ps1

16 lines
478 B

$ErrorActionPreference = "Stop"
$debuggingYaml = "$PSScriptRoot/debugging/docker-compose.yml"
$recyclarrYaml = "$PSScriptRoot/../docker-compose.yml"
# Start the corresponding radarr/sonarr docker containers for testing/debugging
docker compose -f $debuggingYaml up -d --pull always
if ($LASTEXITCODE -ne 0) {
throw "docker compose up failed"
}
docker compose -f $recyclarrYaml run --rm --build app @args
if ($LASTEXITCODE -ne 0) {
throw "docker compose run failed"
}