Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix: run container commands on high priority

Andras Bacsai0f5690db8589
diff --git a/app/Livewire/Project/Shared/ExecuteContainerCommand.php b/app/Livewire/Project/Shared/ExecuteContainerCommand.php
index dc3a62c560..343915d9c7 100644
--- a/app/Livewire/Project/Shared/ExecuteContainerCommand.php
+++ b/app/Livewire/Project/Shared/ExecuteContainerCommand.php
@@ -2,6 +2,7 @@
namespace App\Livewire\Project\Shared;
+use App\Actions\Server\RunCommand;
use App\Models\Application;
use App\Models\Server;
use App\Models\Service;
@@ -137,7 +138,7 @@ class ExecuteContainerCommand extends Component
} else {
$exec = "docker exec {$container_name} {$cmd}";
}
- $activity = remote_process([$exec], $server, ignore_errors: true);
+ $activity = RunCommand::run(server: $server, command: $exec);
$this->dispatch('activityMonitor', $activity->id);
} catch (\Throwable $e) {
return handleError($e, $this);