Small ajustments.
This commit is contained in:
@@ -63,7 +63,7 @@ if (!function_exists('savePrivateKey')) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!function_exists('generateSshCommand')) {
|
if (!function_exists('generateSshCommand')) {
|
||||||
function generateSshCommand(string $private_key_location, string $server_ip, string $user, string $port, string $command, bool $isMux = true)
|
function generateSshCommand(string $private_key_location, string $server_ip, string $user, string $port, string $command, bool $isMux = false)
|
||||||
{
|
{
|
||||||
$delimiter = 'EOF-COOLIFY-SSH';
|
$delimiter = 'EOF-COOLIFY-SSH';
|
||||||
Storage::disk('local')->makeDirectory('.ssh');
|
Storage::disk('local')->makeDirectory('.ssh');
|
||||||
|
@@ -38,7 +38,7 @@ class ServerSeeder extends Seeder
|
|||||||
'name' => "localhost",
|
'name' => "localhost",
|
||||||
'description' => "This is the local machine",
|
'description' => "This is the local machine",
|
||||||
'user' => 'root',
|
'user' => 'root',
|
||||||
'ip' => "172.17.0.1",
|
'ip' => "coolify-testing-host",
|
||||||
'team_id' => $root_team->id,
|
'team_id' => $root_team->id,
|
||||||
'private_key_id' => $private_key_1->id,
|
'private_key_id' => $private_key_1->id,
|
||||||
]);
|
]);
|
||||||
|
Reference in New Issue
Block a user