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
Add localhost hint for proxy restart logs
Andras Bacsaid53a12182e09
diff --git a/app/Livewire/Server/Navbar.php b/app/Livewire/Server/Navbar.phpindex 17c30e0f8b..6da1edd776 100644--- a/app/Livewire/Server/Navbar.php+++ b/app/Livewire/Server/Navbar.php@@ -75,7 +75,7 @@ class Navbar extends Component// Always use background job for all serversRestartProxyJob::dispatch($this->server);- $this->dispatch('info', 'Proxy restart initiated.');+ // $this->dispatch('info', 'Proxy restart initiated.');// Reset the flag after a short delay to allow future restarts$this->restartInitiated = false;@@ -171,15 +171,15 @@ class Navbar extends Component}break;case 'stopping':- $this->dispatch('info', 'Proxy is stopping.');+ // $this->dispatch('info', 'Proxy is stopping.');$this->lastNotifiedStatus = $this->proxyStatus;break;case 'starting':- $this->dispatch('info', 'Proxy is starting.');+ // $this->dispatch('info', 'Proxy is starting.');$this->lastNotifiedStatus = $this->proxyStatus;break;case 'restarting':- $this->dispatch('info', 'Proxy is restarting.');+ // $this->dispatch('info', 'Proxy is restarting.');$this->lastNotifiedStatus = $this->proxyStatus;break;case 'error':diff --git a/resources/views/livewire/server/navbar.blade.php b/resources/views/livewire/server/navbar.blade.phpindex 8525f5d601..b0802ed1e6 100644--- a/resources/views/livewire/server/navbar.blade.php+++ b/resources/views/livewire/server/navbar.blade.php@@ -2,6 +2,13 @@<x-slide-over @startproxy.window="slideOverOpen = true" fullScreen closeWithX><x-slot:title>Proxy Startup Logs</x-slot:title><x-slot:content>+ @if ($server->id === 0)+ <div class="mb-4 p-3 text-sm bg-warning/10 border border-warning/30 rounded-lg text-warning">+ <span class="font-semibold">Note:</span> This is the localhost server where Coolify runs.+ During proxy restart, the connection may be temporarily lost.+ If logs stop updating, please refresh the browser after a few minutes.+ </div>+ @endif<livewire:activity-monitor header="Logs" fullHeight /></x-slot:content></x-slide-over>