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(server): update server usability check to reflect actual Docker availability status

Andras Bacsai2ef139bc4234
diff --git a/app/Jobs/ServerConnectionCheckJob.php b/app/Jobs/ServerConnectionCheckJob.php
index 167bcea380..8b55434f63 100644
--- a/app/Jobs/ServerConnectionCheckJob.php
+++ b/app/Jobs/ServerConnectionCheckJob.php
@@ -78,11 +78,11 @@ class ServerConnectionCheckJob implements ShouldBeEncrypted, ShouldQueue
}
// Server is reachable, check if Docker is available
- // $isUsable = $this->checkDockerAvailability();
+ $isUsable = $this->checkDockerAvailability();
$this->server->settings->update([
'is_reachable' => true,
- 'is_usable' => true,
+ 'is_usable' => $isUsable,
]);
} catch (\Throwable $e) {