{{ data_get_str($resource, 'name')->limit(10) }} > Logs | Coolify @if ($type === 'application')

Logs

Logs

@if (str($status)->contains('exited'))
The resource is not running.
@else
Loading containers...
@forelse ($servers as $server)

Server: {{ $server->name }}

@if ($server->isFunctional()) @if (isset($serverContainers[$server->id]) && count($serverContainers[$server->id]) > 0) @foreach ($serverContainers[$server->id] as $container) @endforeach @else
No containers are running on server: {{ $server->name }}
@endif @else
Server {{ $server->name }} is not functional.
@endif
@empty
No functional server found for the application.
@endforelse
@endif
@elseif ($type === 'database')

Logs

Logs

@if (str($status)->contains('exited'))
The resource is not running.
@else
Loading containers...
@forelse ($containers as $container) @if (data_get($servers, '0')) @else
No functional server found for the database.
@endif @empty
No containers are running.
@endforelse
@endif
@elseif ($type === 'service')

Logs

@if (str($status)->contains('exited'))
The resource is not running.
@else
Loading containers...
@forelse ($containers as $container) @if (data_get($servers, '0')) @else
No functional server found for the service.
@endif @empty
No containers are running.
@endforelse
@endif
@endif