Fix condition for checking localhost key in ProductionSeeder.php

This commit is contained in:
Andras Bacsai 2024-01-26 11:11:41 +01:00
parent a993fef235
commit e7e3adc7fb

View File

@ -66,7 +66,8 @@ public function run(): void
]);
}
if (!isCloud() && config('coolify.is_windows_docker_desktop') === false) {
if (!isCloud() && config('coolify.is_windows_docker_desktop') == false) {
echo "Checking localhost key.\n";
// Save SSH Keys for the Coolify Host
$coolify_key_name = "id.root@host.docker.internal";
$coolify_key = Storage::disk('ssh-keys')->get("{$coolify_key_name}");