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 proxy job

Andras Bacsai0076455e6e3f
diff --git a/app/Jobs/ProxyContainerStatusJob.php b/app/Jobs/ProxyContainerStatusJob.php
index ed63ed8fec..aa6056434c 100644
--- a/app/Jobs/ProxyContainerStatusJob.php
+++ b/app/Jobs/ProxyContainerStatusJob.php
@@ -40,8 +40,8 @@ class ProxyContainerStatusJob implements ShouldQueue, ShouldBeUnique
{
try {
$container = getContainerStatus(server: $this->server, all_data: true, container_id: 'coolify-proxy', throwError: true);
- $status = $container['State']['Status'];
- if ($this->server->proxy->status !== $status) {
+ $status = data_get($container, 'State.Status');
+ if (data_get($this->server,'proxy.status') !== $status) {
$this->server->proxy->status = $status;
if ($this->server->proxy->status === 'running') {
$traefik = $container['Config']['Labels']['org.opencontainers.image.title'];