mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-20 02:11:36 +00:00
fix default key names
This commit is contained in:
parent
9030427f78
commit
84192b7cb7
@ -13,7 +13,7 @@ public function __construct()
|
|||||||
|
|
||||||
public function handle(Broadcast $event): void
|
public function handle(Broadcast $event): void
|
||||||
{
|
{
|
||||||
Cache::set('broadcast', [
|
Cache::put('broadcast', [
|
||||||
'type' => $event->type,
|
'type' => $event->type,
|
||||||
'data' => $event->data,
|
'data' => $event->data,
|
||||||
], now()->addMinutes(5));
|
], now()->addMinutes(5));
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
namespace App\ServerTypes;
|
namespace App\ServerTypes;
|
||||||
|
|
||||||
|
use App\Enums\ServerStatus;
|
||||||
use App\Events\Broadcast;
|
use App\Events\Broadcast;
|
||||||
use App\Jobs\Installation\Initialize;
|
use App\Jobs\Installation\Initialize;
|
||||||
use App\Jobs\Installation\InstallCertbot;
|
use App\Jobs\Installation\InstallCertbot;
|
||||||
@ -79,7 +80,7 @@ public function install(): void
|
|||||||
|
|
||||||
$jobs[] = function () {
|
$jobs[] = function () {
|
||||||
$this->server->update([
|
$this->server->update([
|
||||||
'status' => 'ready',
|
'status' => ServerStatus::READY,
|
||||||
'progress' => 100,
|
'progress' => 100,
|
||||||
]);
|
]);
|
||||||
event(
|
event(
|
||||||
|
@ -36,8 +36,8 @@
|
|||||||
* SSH
|
* SSH
|
||||||
*/
|
*/
|
||||||
'ssh_user' => env('SSH_USER', 'vito'),
|
'ssh_user' => env('SSH_USER', 'vito'),
|
||||||
'ssh_public_key_name' => env('SSH_PUBLIC_KEY_NAME'),
|
'ssh_public_key_name' => env('SSH_PUBLIC_KEY_NAME', 'ssh-public.key'),
|
||||||
'ssh_private_key_name' => env('SSH_PRIVATE_KEY_NAME'),
|
'ssh_private_key_name' => env('SSH_PRIVATE_KEY_NAME', 'ssh-private.pem'),
|
||||||
'logs_disk' => env('SERVER_LOGS_DISK', 'server-logs-local'),
|
'logs_disk' => env('SERVER_LOGS_DISK', 'server-logs-local'),
|
||||||
'key_pairs_disk' => env('KEY_PAIRS_DISK', 'key-pairs-local'),
|
'key_pairs_disk' => env('KEY_PAIRS_DISK', 'key-pairs-local'),
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user