fix: migrate db schema for smtp + discord
This commit is contained in:
@@ -16,14 +16,11 @@ class InstanceSettingsSeeder extends Seeder
|
||||
InstanceSettings::create([
|
||||
'id' => 0,
|
||||
'is_registration_enabled' => true,
|
||||
'smtp' => [
|
||||
'enabled' => true,
|
||||
'test_recipients' => 'test@example.com,test2@example.com',
|
||||
'host' => 'coolify-mail',
|
||||
'port' => 1025,
|
||||
'from_address' => 'hi@localhost.com',
|
||||
'from_name' => 'Coolify',
|
||||
]
|
||||
'smtp_enabled' => true,
|
||||
'smtp_host' => 'coolify-mail',
|
||||
'smtp_port' => 1025,
|
||||
'smtp_from_address' => 'hi@localhost.com',
|
||||
'smtp_from_name' => 'Coolify',
|
||||
]);
|
||||
try {
|
||||
$ipv4 = Process::run('curl -4s https://ifconfig.io')->output();
|
||||
@@ -44,4 +41,4 @@ class InstanceSettingsSeeder extends Seeder
|
||||
echo "Error: {$e->getMessage()}\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user