Skip to content

Commit 3376482

Browse files
committed
fix: #256 limit domain length to meet docker dns expectations 3
1 parent 4a2c329 commit 3376482

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/Models/DeploymentData.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class DeploymentData extends Data
1616
{
1717
public function __construct(
1818
public string $networkName,
19-
#[Max(16)]
19+
#[Max(22)]
2020
public string $internalDomain,
2121
#[DataCollectionOf(Process::class)]
2222
#[Rule(new UniqueInArray('name'))]

app/Models/DeploymentData/Process.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
class Process extends Data
2424
{
2525
public function __construct(
26-
#[Max(22)]
26+
#[Max(16)]
2727
public string $name,
2828
#[Exists(Node::class, 'id')]
2929
#[RequiredWith('volumes')]

0 commit comments

Comments
 (0)