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.

update

Andras Bacsai61a54f48c528
diff --git a/bootstrap/helpers/docker.php b/bootstrap/helpers/docker.php
index 8ee0765a5d..1094fb06f5 100644
--- a/bootstrap/helpers/docker.php
+++ b/bootstrap/helpers/docker.php
@@ -58,9 +58,11 @@ function format_docker_envs_to_json($rawOutput)
}
function getApplicationContainerStatus(Application $application) {
- $server = $application->destination->server;
+ $server = data_get($application,'destination.server');
$id = $application->id;
-
+ if (!$server) {
+ return 'exited';
+ }
$containers = getCurrentApplicationContainerStatus($server, $id);
if ($containers->count() > 0) {
$status = data_get($containers[0], 'State', 'exited');