refactoring

This commit is contained in:
Saeed Vaziry
2023-08-04 18:28:04 +02:00
parent 8444323cf4
commit 643318fcfc
349 changed files with 3189 additions and 2729 deletions

View File

@ -37,7 +37,6 @@
* SSH
*/
'ssh_user' => env('SSH_USER', 'vito'),
'ssh_public_key' => env('SSH_PUBLIC_KEY'),
'ssh_public_key_name' => env('SSH_PUBLIC_KEY_NAME'),
'ssh_private_key_name' => env('SSH_PRIVATE_KEY_NAME'),
'logs_disk' => env('SERVER_LOGS_DISK', 'server-logs-local'),
@ -46,7 +45,11 @@
/*
* General
*/
'operating_systems' => ['ubuntu_18', 'ubuntu_20', 'ubuntu_22'],
'operating_systems' => [
// 'ubuntu_18',
'ubuntu_20',
'ubuntu_22'
],
'webservers' => ['none', 'nginx'],
'php_versions' => [
'none',
@ -258,13 +261,13 @@
* Site
*/
'site_types' => [
\App\Enums\SiteType::LARAVEL,
\App\Enums\SiteType::PHP,
\App\Enums\SiteType::LARAVEL,
\App\Enums\SiteType::WORDPRESS,
],
'site_types_class' => [
\App\Enums\SiteType::LARAVEL => Laravel::class,
\App\Enums\SiteType::PHP => PHPSite::class,
\App\Enums\SiteType::LARAVEL => Laravel::class,
\App\Enums\SiteType::WORDPRESS => Wordpress::class,
],
@ -289,10 +292,9 @@
*/
'php_extensions' => [
'imagick',
// 'geoip',
'geoip',
'exif',
'gmagick',
'ssh2',
'gmp',
'intl',
],

View File

@ -385,6 +385,7 @@
'images' => [
'ubuntu_18' => 'linode/ubuntu18.04',
'ubuntu_20' => 'linode/ubuntu20.04',
'ubuntu_22' => 'linode/ubuntu22.04',
],
],
'digitalocean' => [
@ -513,8 +514,9 @@
],
],
'images' => [
'ubuntu_18' => '93524084',
'ubuntu_20' => '93525508',
'ubuntu_18' => '112929540',
'ubuntu_20' => '112929454',
'ubuntu_22' => '129211873',
],
],
'vultr' => [
@ -685,6 +687,7 @@
'images' => [
'ubuntu_18' => '270',
'ubuntu_20' => '387',
'ubuntu_22' => '1743',
],
],
'hetzner' => [