Merge branch 'develop' into matthewpi/security-keys-backport
This commit is contained in:
commit
f631ac1946
1153 changed files with 25099 additions and 37002 deletions
|
@ -27,6 +27,10 @@ class NodeFactory extends Factory
|
|||
'public' => true,
|
||||
'name' => 'FactoryNode_' . Str::random(10),
|
||||
'fqdn' => $this->faker->unique()->ipv4,
|
||||
'listen_port_http' => 8080,
|
||||
'listen_port_sftp' => 2022,
|
||||
'public_port_http' => 8080,
|
||||
'public_port_sftp' => 2022,
|
||||
'scheme' => 'http',
|
||||
'behind_proxy' => false,
|
||||
'memory' => 1024,
|
||||
|
@ -36,9 +40,7 @@ class NodeFactory extends Factory
|
|||
'upload_size' => 100,
|
||||
'daemon_token_id' => Str::random(Node::DAEMON_TOKEN_ID_LENGTH),
|
||||
'daemon_token' => Crypt::encrypt(Str::random(Node::DAEMON_TOKEN_LENGTH)),
|
||||
'daemonListen' => 8080,
|
||||
'daemonSFTP' => 2022,
|
||||
'daemonBase' => '/var/lib/pterodactyl/volumes',
|
||||
'daemon_base' => Node::DEFAULT_DAEMON_BASE,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
|
@ -37,7 +37,7 @@ class ServerFactory extends Factory
|
|||
'io' => 500,
|
||||
'cpu' => 0,
|
||||
'threads' => null,
|
||||
'oom_disabled' => 0,
|
||||
'oom_killer' => true,
|
||||
'startup' => '/bin/bash echo "hello world"',
|
||||
'image' => 'foo/bar:latest',
|
||||
'allocation_limit' => null,
|
||||
|
|
|
@ -29,8 +29,6 @@ class UserFactory extends Factory
|
|||
'uuid' => Uuid::uuid4()->toString(),
|
||||
'username' => $this->faker->userName . '_' . Str::random(10),
|
||||
'email' => Str::random(32) . '@example.com',
|
||||
'name_first' => $this->faker->firstName,
|
||||
'name_last' => $this->faker->lastName,
|
||||
'password' => $password ?: $password = bcrypt('password'),
|
||||
'language' => 'en',
|
||||
'root_admin' => false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue