Read Dokploy environments for composes
This commit is contained in:
@@ -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,
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user