Read Dokploy environments for composes
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
tests / ui (push) Has been cancelled

This commit is contained in:
Codex Agent
2026-01-29 11:17:41 +01:00
parent 87f348462b
commit ce7da1ff66
3 changed files with 157 additions and 90 deletions

View File

@@ -118,6 +118,11 @@
{{ $application['id'] }}
</x-filament::badge>
@endif
@if(!empty($application['environment']))
<x-filament::badge color="gray" :icon="Heroicon::RectangleStack">
Env: {{ $application['environment'] }}
</x-filament::badge>
@endif
@if(!empty($application['repository']))
<x-filament::badge color="gray" :icon="Heroicon::CodeBracket">
{{ $application['repository'] }}
@@ -184,6 +189,11 @@
{{ $compose['id'] }}
</x-filament::badge>
@endif
@if(!empty($compose['environment']))
<x-filament::badge color="gray" :icon="Heroicon::RectangleStack">
Env: {{ $compose['environment'] }}
</x-filament::badge>
@endif
<x-filament::badge color="gray" :icon="Heroicon::Clock">
Last deploy:
{{ $compose['last_deploy'] ? \Illuminate\Support\Carbon::parse($compose['last_deploy'])->diffForHumans() : '—' }}
@@ -235,6 +245,11 @@
{{ $service['id'] }}
</x-filament::badge>
@endif
@if(!empty($service['environment']))
<x-filament::badge color="gray" :icon="Heroicon::RectangleStack">
Env: {{ $service['environment'] }}
</x-filament::badge>
@endif
@if(!empty($service['version']))
<x-filament::badge color="gray" :icon="Heroicon::Cube">
{{ $service['version'] }}