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

@@ -31,28 +31,33 @@ class DokployPlatformHealthWidgetTest extends TestCase
'name' => 'Core',
'description' => 'Main stack',
'updatedAt' => now()->toIso8601String(),
'applications' => [
'environments' => [
[
'applicationId' => 'app_1',
'name' => 'API',
'applicationStatus' => 'running',
'repository' => 'repo/api',
'branch' => 'main',
],
],
'compose' => [
[
'composeId' => 'cmp_1',
'name' => 'Main Compose',
'composeStatus' => 'done',
],
],
'redis' => [
[
'redisId' => 'redis_1',
'name' => 'Redis',
'applicationStatus' => 'done',
'externalPort' => 6379,
'name' => 'production',
'applications' => [
[
'applicationId' => 'app_1',
'name' => 'API',
'applicationStatus' => 'running',
'repository' => 'repo/api',
'branch' => 'main',
],
],
'compose' => [
[
'composeId' => 'cmp_1',
'name' => 'Main Compose',
'composeStatus' => 'done',
],
],
'redis' => [
[
'redisId' => 'redis_1',
'name' => 'Redis',
'applicationStatus' => 'done',
'externalPort' => 6379,
],
],
],
],
]);