fix proxy job
This commit is contained in:
parent
b674a0ed88
commit
0076455e6e
1 changed files with 2 additions and 2 deletions
|
|
@ -40,8 +40,8 @@ public function handle(): void
|
|||
{
|
||||
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'];
|
||||
|
|
|
|||
Loading…
Reference in a new issue