feat: new app API endpoint

This commit is contained in:
Andras Bacsai
2024-06-28 15:05:37 +02:00
parent 2dd17cfac5
commit 30b7e831c0
7 changed files with 300 additions and 105 deletions

View File

@@ -496,7 +496,7 @@ $schema://$host {
public function checkSentinel()
{
ray("Checking sentinel on server: {$this->name}");
// ray("Checking sentinel on server: {$this->name}");
if ($this->isSentinelEnabled()) {
$sentinel_found = instant_remote_process(['docker inspect coolify-sentinel'], $this, false);
$sentinel_found = json_decode($sentinel_found, true);
@@ -505,7 +505,7 @@ $schema://$host {
ray('Sentinel is not running, starting it...');
PullSentinelImageJob::dispatch($this);
} else {
ray('Sentinel is running');
// ray('Sentinel is running');
}
}
}