Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix: localhost privatekey update

Andras Bacsai03a340552457
diff --git a/database/seeders/ProductionSeeder.php b/database/seeders/ProductionSeeder.php
index 25aa497d93..4b276d8229 100644
--- a/database/seeders/ProductionSeeder.php
+++ b/database/seeders/ProductionSeeder.php
@@ -69,11 +69,12 @@ class ProductionSeeder extends Seeder
PrivateKey::updateOrCreate(
[
'id' => 0,
- 'name' => 'localhost\'s key',
- 'description' => 'The private key for the Coolify host machine (localhost).',
'team_id' => 0,
],
- ['private_key' => $coolify_key]
+ [
+ 'name' => 'localhost\'s key',
+ 'description' => 'The private key for the Coolify host machine (localhost).', 'private_key' => $coolify_key
+ ]
);
} else {
echo "No SSH key found for the Coolify host machine (localhost).\n";