mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-03 04:46:18 +00:00
updates
This commit is contained in:
1 parent
b3cdd7df3c
commit
0add4155ab
9 files changed
+41
-38
No files matched your search
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace App\Http\Livewire\Project\Application;
|
||||
|
||||
use App\Jobs\ApplicationContainerStatusJob;
|
||||
use App\Jobs\ContainerStopJob;
|
||||
use App\Models\Application;
|
||||
use Livewire\Component;
|
||||
@@ -68,4 +69,12 @@ class Deploy extends Component
|
||||
$this->application->save();
|
||||
$this->emit('applicationStatusChanged');
|
||||
}
|
||||
|
||||
public function pollStatus()
|
||||
{
|
||||
dispatch(new ApplicationContainerStatusJob(
|
||||
application: $this->application,
|
||||
container_name: generate_container_name($this->application->uuid),
|
||||
));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user