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.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix: no sentinel for swarm yet
Andras Bacsaid7efe8a6d11a
diff --git a/app/Actions/Server/StartSentinel.php b/app/Actions/Server/StartSentinel.phpindex 119513002a..ffc5ceecfc 100644--- a/app/Actions/Server/StartSentinel.php+++ b/app/Actions/Server/StartSentinel.php@@ -11,6 +11,9 @@ class StartSentinelpublic function handle(Server $server, $version = 'next', bool $restart = false){+ if ($server->isSwarm()) {+ return;+ }if ($restart) {StopSentinel::run($server);}diff --git a/app/Jobs/PushServerUpdateJob.php b/app/Jobs/PushServerUpdateJob.phpindex cdc3788e51..bfdd184b5d 100644--- a/app/Jobs/PushServerUpdateJob.php+++ b/app/Jobs/PushServerUpdateJob.php@@ -88,6 +88,7 @@ class PushServerUpdateJob implements ShouldQueuepublic function handle(){+ // TODO: Swarm is not supported yettry {if (! $this->data) {throw new \Exception('No data provided');diff --git a/resources/views/livewire/server/form.blade.php b/resources/views/livewire/server/form.blade.phpindex 7365fc1b13..cf071c5e36 100644--- a/resources/views/livewire/server/form.blade.php+++ b/resources/views/livewire/server/form.blade.php@@ -158,17 +158,18 @@@endif</div></div>- @if (isDev())+ @if (!$server->isSwarm())<div class="flex gap-2 items-center pt-4 pb-2"><h3>Sentinel</h3>@if ($server->isSentinelEnabled())<div class="flex gap-2 items-center"wire:poll.{{ $server->settings->sentinel_push_interval_seconds }}s="checkSyncStatus">@if ($server->isSentinelLive())- <x-status.running status="In sync" noLoading title="{{$server->sentinel_updated_at}}" />+ <x-status.running status="In sync" noLoading title="{{ $server->sentinel_updated_at }}" /><x-forms.button wire:click='restartSentinel'>Restart</x-forms.button>@else- <x-status.stopped status="Out of sync" noLoading title="{{$server->sentinel_updated_at}}" />+ <x-status.stopped status="Out of sync" noLoading+ title="{{ $server->sentinel_updated_at }}" /><x-forms.button wire:click='restartSentinel'>Sync</x-forms.button>@endif</div>