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.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
wip
Joao Patriciof50e85077480
diff --cc app/Http/Controllers/ProjectController.phpindex 3bb4c2b230,af9ffe2469..465a658f5a--- a/app/Http/Controllers/ProjectController.php+++ b/app/Http/Controllers/ProjectController.php@@@ -91,8 -60,9 +91,9 @@@ class ProjectController extends Control}$application = $environment->applications->where('uuid', request()->route('application_uuid'))->first();if (!$application) {- return redirect()->route('home');+ return redirect()->route('dashboard');}+$activity = Activity::query()->where('properties->type', '=', 'deployment')->where('properties->uuid', '=', $deployment_uuid)diff --cc app/Models/Server.phpindex d72bf0b5d3,1ea28ee860..96253d2903--- a/app/Models/Server.php+++ b/app/Models/Server.php@@@ -12,22 -15,16 +15,29 @@@ class Server extends BaseMode]);});}-+ protected $fillable = [+ 'name',+ 'ip',+ 'user',+ 'port',+ 'team_id',+ 'private_key_id',+ ];+ public function standaloneDockers()+ {+ return $this->hasMany(StandaloneDocker::class);+ }+ public function swarmDockers()+ {+ return $this->hasMany(SwarmDocker::class);+ }+ public $casts = [+ 'extra_attributes' => SchemalessAttributes::class,+ ];-+ public function scopeWithExtraAttributes(): Builder+ {+ return $this->extra_attributes->modelScope();+ }-public function privateKey(){return $this->belongsTo(PrivateKey::class);diff --cc composer.jsonindex 71826d98ac,a4bb8d9433..11be2b5847--- a/composer.json+++ b/composer.json@@@ -17,7 -17,7 +18,8 @@@"spatie/laravel-activitylog": "^4.7.3","spatie/laravel-data": "^3.4.3","spatie/laravel-ray": "^1.32.4",+ "spatie/url": "^2.2",+ "spatie/laravel-schemaless-attributes": "^2.4","symfony/yaml": "^6.2","visus/cuid2": "^2.0.0"},diff --cc composer.lockindex a21b1cbb83,0b3f0e7794..2a2840720b--- a/composer.lock+++ b/composer.lock@@@ -4,7 -4,7 +4,7 @@@"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies","This file is @generated automatically"],- "content-hash": "edc1042455661505e65373a55fed9b81",- "content-hash": "4d4a58970bcb8990e0fa643bef8c8243",++ "content-hash": "76cbf08c8a60e542b25b1d96f9f4e265","packages": [{"name": "bacon/bacon-qr-code",@@@ -1390,16 -1689,16 +1686,16 @@@},{"name": "laravel/sanctum",- "version": "v3.2.4",- "version": "v3.2.1",++ "version": "v3.2.5","source": {"type": "git","url": "https://github.com/laravel/sanctum.git",- "reference": "c8269dcff3cda261ce113ab9548a0253d709aa91"- "reference": "d09d69bac55708fcd4a3b305d760e673d888baf9"++ "reference": "8ebda85d59d3c414863a7f4d816ef8302faad876"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/laravel/sanctum/zipball/c8269dcff3cda261ce113ab9548a0253d709aa91",- "reference": "c8269dcff3cda261ce113ab9548a0253d709aa91",- "url": "https://api.github.com/repos/laravel/sanctum/zipball/d09d69bac55708fcd4a3b305d760e673d888baf9",- "reference": "d09d69bac55708fcd4a3b305d760e673d888baf9",++ "url": "https://api.github.com/repos/laravel/sanctum/zipball/8ebda85d59d3c414863a7f4d816ef8302faad876",++ "reference": "8ebda85d59d3c414863a7f4d816ef8302faad876","shasum": ""},"require": {@@@ -1452,7 -1750,7 +1748,7 @@@"issues": "https://github.com/laravel/sanctum/issues","source": "https://github.com/laravel/sanctum"},- "time": "2023-04-26T18:55:47+00:00"- "time": "2023-01-13T15:41:49+00:00"++ "time": "2023-05-01T19:39:51+00:00"},{"name": "laravel/serializable-closure",@@@ -2863,16 -3108,16 +3159,16 @@@},{"name": "phpstan/phpdoc-parser",- "version": "1.20.3",- "version": "1.18.1",++ "version": "1.20.4","source": {"type": "git","url": "https://github.com/phpstan/phpdoc-parser.git",- "reference": "6c04009f6cae6eda2f040745b6b846080ef069c2"- "reference": "22dcdfd725ddf99583bfe398fc624ad6c5004a0f"++ "reference": "7d568c87a9df9c5f7e8b5f075fc469aa8cb0a4cd"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/6c04009f6cae6eda2f040745b6b846080ef069c2",- "reference": "6c04009f6cae6eda2f040745b6b846080ef069c2",- "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/22dcdfd725ddf99583bfe398fc624ad6c5004a0f",- "reference": "22dcdfd725ddf99583bfe398fc624ad6c5004a0f",++ "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/7d568c87a9df9c5f7e8b5f075fc469aa8cb0a4cd",++ "reference": "7d568c87a9df9c5f7e8b5f075fc469aa8cb0a4cd","shasum": ""},"require": {@@@ -2902,9 -3147,9 +3198,9 @@@"description": "PHPDoc parser with support for nullable, intersection and generic types","support": {"issues": "https://github.com/phpstan/phpdoc-parser/issues",- "source": "https://github.com/phpstan/phpdoc-parser/tree/1.20.3"- "source": "https://github.com/phpstan/phpdoc-parser/tree/1.18.1"++ "source": "https://github.com/phpstan/phpdoc-parser/tree/1.20.4"},- "time": "2023-04-25T09:01:03+00:00"- "time": "2023-04-07T11:51:11+00:00"++ "time": "2023-05-02T09:19:37+00:00"},{"name": "pimple/pimple",@@@ -4231,80 -4601,18 +4652,80 @@@],"time": "2023-03-06T07:22:28+00:00"},+ {+ "name": "spatie/url",+ "version": "2.2.1",+ "source": {+ "type": "git",+ "url": "https://github.com/spatie/url.git",+ "reference": "70468105958905d9a8566409212715e9754ca242"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/spatie/url/zipball/70468105958905d9a8566409212715e9754ca242",+ "reference": "70468105958905d9a8566409212715e9754ca242",+ "shasum": ""+ },+ "require": {+ "php": "^8.0",+ "psr/http-message": "^1.0 || ^2.0",+ "spatie/macroable": "^2.0"+ },+ "require-dev": {+ "pestphp/pest": "^1.21"+ },+ "type": "library",+ "autoload": {+ "psr-4": {+ "Spatie\\Url\\": "src"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Sebastian De Deyne",+ "email": "[email protected]",+ "homepage": "https://spatie.be",+ "role": "Developer"+ }+ ],+ "description": "Parse, build and manipulate URL's",+ "homepage": "https://github.com/spatie/url",+ "keywords": [+ "spatie",+ "url"+ ],+ "support": {+ "issues": "https://github.com/spatie/url/issues",+ "source": "https://github.com/spatie/url/tree/2.2.1"+ },+ "funding": [+ {+ "url": "https://spatie.be/open-source/support-us",+ "type": "custom"+ },+ {+ "url": "https://github.com/spatie",+ "type": "github"+ }+ ],+ "time": "2023-04-27T11:07:22+00:00"+ },{"name": "symfony/console",-- "version": "v6.2.8",++ "version": "v6.2.10","source": {"type": "git","url": "https://github.com/symfony/console.git",-- "reference": "3582d68a64a86ec25240aaa521ec8bc2342b369b"++ "reference": "12288d9f4500f84a4d02254d4aa968b15488476f"},"dist": {"type": "zip",-- "url": "https://api.github.com/repos/symfony/console/zipball/3582d68a64a86ec25240aaa521ec8bc2342b369b",-- "reference": "3582d68a64a86ec25240aaa521ec8bc2342b369b",++ "url": "https://api.github.com/repos/symfony/console/zipball/12288d9f4500f84a4d02254d4aa968b15488476f",++ "reference": "12288d9f4500f84a4d02254d4aa968b15488476f","shasum": ""},"require": {@@@ -4371,7 -4679,7 +4792,7 @@@"terminal"],"support": {-- "source": "https://github.com/symfony/console/tree/v6.2.8"++ "source": "https://github.com/symfony/console/tree/v6.2.10"},"funding": [{@@@ -4387,7 -4695,7 +4808,7 @@@"type": "tidelift"}],-- "time": "2023-03-29T21:42:15+00:00"++ "time": "2023-04-28T13:37:43+00:00"},{"name": "symfony/css-selector",@@@ -4523,16 -4831,16 +4944,16 @@@},{"name": "symfony/error-handler",-- "version": "v6.2.9",++ "version": "v6.2.10","source": {"type": "git","url": "https://github.com/symfony/error-handler.git",-- "reference": "e95f1273b3953c3b5e5341172dae838bacee11ee"++ "reference": "8b7e9f124640cb0611624a9383176c3e5f7d8cfb"},"dist": {"type": "zip",-- "url": "https://api.github.com/repos/symfony/error-handler/zipball/e95f1273b3953c3b5e5341172dae838bacee11ee",-- "reference": "e95f1273b3953c3b5e5341172dae838bacee11ee",++ "url": "https://api.github.com/repos/symfony/error-handler/zipball/8b7e9f124640cb0611624a9383176c3e5f7d8cfb",++ "reference": "8b7e9f124640cb0611624a9383176c3e5f7d8cfb","shasum": ""},"require": {@@@ -4574,7 -4882,7 +4995,7 @@@"description": "Provides tools to manage errors and ease debugging PHP code","homepage": "https://symfony.com","support": {-- "source": "https://github.com/symfony/error-handler/tree/v6.2.9"++ "source": "https://github.com/symfony/error-handler/tree/v6.2.10"},"funding": [{@@@ -4590,7 -4898,7 +5011,7 @@@"type": "tidelift"}],-- "time": "2023-04-11T16:03:19+00:00"++ "time": "2023-04-18T13:46:08+00:00"},{"name": "symfony/event-dispatcher",@@@ -4820,16 -5128,16 +5241,16 @@@},{"name": "symfony/http-foundation",-- "version": "v6.2.8",++ "version": "v6.2.10","source": {"type": "git","url": "https://github.com/symfony/http-foundation.git",-- "reference": "511a524affeefc191939348823ac75e9921c2112"++ "reference": "49adbb92bcb4e3c2943719d2756271e8b9602acc"},"dist": {"type": "zip",-- "url": "https://api.github.com/repos/symfony/http-foundation/zipball/511a524affeefc191939348823ac75e9921c2112",-- "reference": "511a524affeefc191939348823ac75e9921c2112",++ "url": "https://api.github.com/repos/symfony/http-foundation/zipball/49adbb92bcb4e3c2943719d2756271e8b9602acc",++ "reference": "49adbb92bcb4e3c2943719d2756271e8b9602acc","shasum": ""},"require": {@@@ -4878,7 -5186,7 +5299,7 @@@"description": "Defines an object-oriented layer for the HTTP specification","homepage": "https://symfony.com","support": {-- "source": "https://github.com/symfony/http-foundation/tree/v6.2.8"++ "source": "https://github.com/symfony/http-foundation/tree/v6.2.10"},"funding": [{@@@ -4894,20 -5202,20 +5315,20 @@@"type": "tidelift"}],-- "time": "2023-03-29T21:42:15+00:00"++ "time": "2023-04-18T13:46:08+00:00"},{"name": "symfony/http-kernel",-- "version": "v6.2.9",++ "version": "v6.2.10","source": {"type": "git","url": "https://github.com/symfony/http-kernel.git",-- "reference": "02246510cf7031726f7237138d61b796b95799b3"++ "reference": "81064a65a5496f17d2b6984f6519406f98864215"},"dist": {"type": "zip",-- "url": "https://api.github.com/repos/symfony/http-kernel/zipball/02246510cf7031726f7237138d61b796b95799b3",-- "reference": "02246510cf7031726f7237138d61b796b95799b3",++ "url": "https://api.github.com/repos/symfony/http-kernel/zipball/81064a65a5496f17d2b6984f6519406f98864215",++ "reference": "81064a65a5496f17d2b6984f6519406f98864215","shasum": ""},"require": {@@@ -4989,7 -5297,7 +5410,7 @@@"description": "Provides a structured process for converting a Request into a Response","homepage": "https://symfony.com","support": {-- "source": "https://github.com/symfony/http-kernel/tree/v6.2.9"++ "source": "https://github.com/symfony/http-kernel/tree/v6.2.10"},"funding": [{@@@ -5005,7 -5313,7 +5426,7 @@@"type": "tidelift"}],-- "time": "2023-04-13T16:41:43+00:00"++ "time": "2023-04-28T13:50:28+00:00"},{"name": "symfony/mailer",@@@ -5088,16 -5396,16 +5509,16 @@@},{"name": "symfony/mime",-- "version": "v6.2.7",++ "version": "v6.2.10","source": {"type": "git","url": "https://github.com/symfony/mime.git",-- "reference": "62e341f80699badb0ad70b31149c8df89a2d778e"++ "reference": "b6c137fc53a9f7c4c951cd3f362b3734c7a97723"},"dist": {"type": "zip",-- "url": "https://api.github.com/repos/symfony/mime/zipball/62e341f80699badb0ad70b31149c8df89a2d778e",-- "reference": "62e341f80699badb0ad70b31149c8df89a2d778e",++ "url": "https://api.github.com/repos/symfony/mime/zipball/b6c137fc53a9f7c4c951cd3f362b3734c7a97723",++ "reference": "b6c137fc53a9f7c4c951cd3f362b3734c7a97723","shasum": ""},"require": {@@@ -5151,7 -5459,7 +5572,7 @@@"mime-type"],"support": {-- "source": "https://github.com/symfony/mime/tree/v6.2.7"++ "source": "https://github.com/symfony/mime/tree/v6.2.10"},"funding": [{@@@ -5167,7 -5475,7 +5588,7 @@@"type": "tidelift"}],-- "time": "2023-02-24T10:42:00+00:00"++ "time": "2023-04-19T09:54:16+00:00"},{"name": "symfony/polyfill-ctype",@@@ -5912,16 -6220,16 +6333,16 @@@},{"name": "symfony/process",-- "version": "v6.2.8",++ "version": "v6.2.10","source": {"type": "git","url": "https://github.com/symfony/process.git",-- "reference": "75ed64103df4f6615e15a7fe38b8111099f47416"++ "reference": "b34cdbc9c5e75d45a3703e63a48ad07aafa8bf2e"},"dist": {"type": "zip",-- "url": "https://api.github.com/repos/symfony/process/zipball/75ed64103df4f6615e15a7fe38b8111099f47416",-- "reference": "75ed64103df4f6615e15a7fe38b8111099f47416",++ "url": "https://api.github.com/repos/symfony/process/zipball/b34cdbc9c5e75d45a3703e63a48ad07aafa8bf2e",++ "reference": "b34cdbc9c5e75d45a3703e63a48ad07aafa8bf2e","shasum": ""},"require": {@@@ -5953,7 -6261,7 +6374,7 @@@"description": "Executes commands in sub-processes","homepage": "https://symfony.com","support": {-- "source": "https://github.com/symfony/process/tree/v6.2.8"++ "source": "https://github.com/symfony/process/tree/v6.2.10"},"funding": [{@@@ -5969,7 -6277,7 +6390,7 @@@"type": "tidelift"}],-- "time": "2023-03-09T16:20:02+00:00"++ "time": "2023-04-18T13:56:57+00:00"},{"name": "symfony/routing",@@@ -6547,16 -6855,16 +6968,16 @@@},{"name": "symfony/var-dumper",-- "version": "v6.2.8",++ "version": "v6.2.10","source": {"type": "git","url": "https://github.com/symfony/var-dumper.git",-- "reference": "d37ab6787be2db993747b6218fcc96e8e3bb4bd0"++ "reference": "41a750a23412ca76fdbbf5096943b4134272c1ab"},"dist": {"type": "zip",-- "url": "https://api.github.com/repos/symfony/var-dumper/zipball/d37ab6787be2db993747b6218fcc96e8e3bb4bd0",-- "reference": "d37ab6787be2db993747b6218fcc96e8e3bb4bd0",++ "url": "https://api.github.com/repos/symfony/var-dumper/zipball/41a750a23412ca76fdbbf5096943b4134272c1ab",++ "reference": "41a750a23412ca76fdbbf5096943b4134272c1ab","shasum": ""},"require": {@@@ -6615,7 -6923,7 +7036,7 @@@"dump"],"support": {-- "source": "https://github.com/symfony/var-dumper/tree/v6.2.8"++ "source": "https://github.com/symfony/var-dumper/tree/v6.2.10"},"funding": [{@@@ -6631,20 -6939,20 +7052,20 @@@"type": "tidelift"}],-- "time": "2023-03-29T21:42:15+00:00"++ "time": "2023-04-18T13:46:08+00:00"},{"name": "symfony/yaml",-- "version": "v6.2.7",++ "version": "v6.2.10","source": {"type": "git","url": "https://github.com/symfony/yaml.git",-- "reference": "e8e6a1d59e050525f27a1f530aa9703423cb7f57"++ "reference": "61916f3861b1e9705b18cfde723921a71dd1559d"},"dist": {"type": "zip",-- "url": "https://api.github.com/repos/symfony/yaml/zipball/e8e6a1d59e050525f27a1f530aa9703423cb7f57",-- "reference": "e8e6a1d59e050525f27a1f530aa9703423cb7f57",++ "url": "https://api.github.com/repos/symfony/yaml/zipball/61916f3861b1e9705b18cfde723921a71dd1559d",++ "reference": "61916f3861b1e9705b18cfde723921a71dd1559d","shasum": ""},"require": {@@@ -6689,7 -6997,7 +7110,7 @@@"description": "Loads and dumps YAML files","homepage": "https://symfony.com","support": {-- "source": "https://github.com/symfony/yaml/tree/v6.2.7"++ "source": "https://github.com/symfony/yaml/tree/v6.2.10"},"funding": [{@@@ -6705,7 -7013,7 +7126,7 @@@"type": "tidelift"}],-- "time": "2023-02-16T09:57:23+00:00"++ "time": "2023-04-28T13:25:36+00:00"},{"name": "tijsverkoyen/css-to-inline-styles",@@@ -8015,98 -8384,20 +8436,98 @@@"type": "patreon"}],- "time": "2023-03-31T08:17:12+00:00"+ "time": "2023-04-22T22:12:40+00:00"+ },+ {+ "name": "nyholm/psr7",- "version": "1.7.0",++ "version": "1.8.0",+ "source": {+ "type": "git",+ "url": "https://github.com/Nyholm/psr7.git",- "reference": "ed7cf98f6562831dbc3c962406b5e49dc8179c8c"++ "reference": "3cb4d163b58589e47b35103e8e5e6a6a475b47be"+ },+ "dist": {+ "type": "zip",- "url": "https://api.github.com/repos/Nyholm/psr7/zipball/ed7cf98f6562831dbc3c962406b5e49dc8179c8c",- "reference": "ed7cf98f6562831dbc3c962406b5e49dc8179c8c",++ "url": "https://api.github.com/repos/Nyholm/psr7/zipball/3cb4d163b58589e47b35103e8e5e6a6a475b47be",++ "reference": "3cb4d163b58589e47b35103e8e5e6a6a475b47be",+ "shasum": ""+ },+ "require": {+ "php": ">=7.2",- "php-http/message-factory": "^1.0",+ "psr/http-factory": "^1.0",+ "psr/http-message": "^1.1 || ^2.0"+ },+ "provide": {+ "php-http/message-factory-implementation": "1.0",+ "psr/http-factory-implementation": "1.0",+ "psr/http-message-implementation": "1.0"+ },+ "require-dev": {+ "http-interop/http-factory-tests": "^0.9",- "php-http/psr7-integration-tests": "^1.0@dev",- "phpunit/phpunit": "^7.5 || 8.5 || 9.4",++ "php-http/message-factory": "^1.0",++ "php-http/psr7-integration-tests": "^1.0",++ "phpunit/phpunit": "^7.5 || ^8.5 || ^9.4",+ "symfony/error-handler": "^4.4"+ },+ "type": "library",+ "extra": {+ "branch-alias": {- "dev-master": "1.7-dev"++ "dev-master": "1.8-dev"+ }+ },+ "autoload": {+ "psr-4": {+ "Nyholm\\Psr7\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Tobias Nyholm",+ "email": "[email protected]"+ },+ {+ "name": "Martijn van der Ven",+ "email": "[email protected]"+ }+ ],+ "description": "A fast PHP7 implementation of PSR-7",+ "homepage": "https://tnyholm.se",+ "keywords": [+ "psr-17",+ "psr-7"+ ],+ "support": {+ "issues": "https://github.com/Nyholm/psr7/issues",- "source": "https://github.com/Nyholm/psr7/tree/1.7.0"++ "source": "https://github.com/Nyholm/psr7/tree/1.8.0"+ },+ "funding": [+ {+ "url": "https://github.com/Zegnat",+ "type": "github"+ },+ {+ "url": "https://github.com/nyholm",+ "type": "github"+ }+ ],- "time": "2023-04-20T08:38:48+00:00"++ "time": "2023-05-02T11:26:24+00:00"},{"name": "pestphp/pest",- "version": "v2.5.3",- "version": "v2.4.0",++ "version": "v2.6.0","source": {"type": "git","url": "https://github.com/pestphp/pest.git",- "reference": "9842e1051d77d3eb1c598dd459b1babfa73a04eb"- "reference": "12c75524a2548e787ade52023d6e2d5725dba9bb"++ "reference": "a34767fa15abd098c763db605fd0fc72665b7f69"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/pestphp/pest/zipball/9842e1051d77d3eb1c598dd459b1babfa73a04eb",- "reference": "9842e1051d77d3eb1c598dd459b1babfa73a04eb",- "url": "https://api.github.com/repos/pestphp/pest/zipball/12c75524a2548e787ade52023d6e2d5725dba9bb",- "reference": "12c75524a2548e787ade52023d6e2d5725dba9bb",++ "url": "https://api.github.com/repos/pestphp/pest/zipball/a34767fa15abd098c763db605fd0fc72665b7f69",++ "reference": "a34767fa15abd098c763db605fd0fc72665b7f69","shasum": ""},"require": {@@@ -8123,8 -8414,8 +8544,8 @@@"webmozart/assert": "<1.11.0"},"require-dev": {-- "pestphp/pest-dev-tools": "^2.6.0",-- "symfony/process": "^6.2.8"++ "pestphp/pest-dev-tools": "^2.8.0",++ "symfony/process": "^6.2.10"},"bin": ["bin/pest"@@@ -8180,7 -8471,7 +8601,7 @@@],"support": {"issues": "https://github.com/pestphp/pest/issues",- "source": "https://github.com/pestphp/pest/tree/v2.5.3"- "source": "https://github.com/pestphp/pest/tree/v2.4.0"++ "source": "https://github.com/pestphp/pest/tree/v2.6.0"},"funding": [{@@@ -8192,7 -8483,7 +8613,7 @@@"type": "github"}],- "time": "2023-04-22T22:14:57+00:00"- "time": "2023-04-02T20:12:31+00:00"++ "time": "2023-05-01T23:51:14+00:00"},{"name": "pestphp/pest-plugin",@@@ -9337,16 -9574,16 +9704,16 @@@},{"name": "sebastian/diff",-- "version": "5.0.1",++ "version": "5.0.3","source": {"type": "git","url": "https://github.com/sebastianbergmann/diff.git",-- "reference": "aae9a0a43bff37bd5d8d0311426c87bf36153f02"++ "reference": "912dc2fbe3e3c1e7873313cc801b100b6c68c87b"},"dist": {"type": "zip",-- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/aae9a0a43bff37bd5d8d0311426c87bf36153f02",-- "reference": "aae9a0a43bff37bd5d8d0311426c87bf36153f02",++ "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/912dc2fbe3e3c1e7873313cc801b100b6c68c87b",++ "reference": "912dc2fbe3e3c1e7873313cc801b100b6c68c87b","shasum": ""},"require": {@@@ -9392,7 -9629,7 +9759,7 @@@"support": {"issues": "https://github.com/sebastianbergmann/diff/issues","security": "https://github.com/sebastianbergmann/diff/security/policy",-- "source": "https://github.com/sebastianbergmann/diff/tree/5.0.1"++ "source": "https://github.com/sebastianbergmann/diff/tree/5.0.3"},"funding": [{@@@ -9400,7 -9637,7 +9767,7 @@@"type": "github"}],-- "time": "2023-03-23T05:12:41+00:00"++ "time": "2023-05-01T07:48:21+00:00"},{"name": "sebastian/environment",@@@ -10234,178 -10471,9 +10601,178 @@@],"time": "2023-04-12T09:26:00+00:00"},+ {+ "name": "symfony/http-client",- "version": "v6.2.9",++ "version": "v6.2.10",+ "source": {+ "type": "git",+ "url": "https://github.com/symfony/http-client.git",- "reference": "7daf5d24c21a683164688b95bb73b7a4bd3b32fc"++ "reference": "3f5545a91c8e79dedd1a06c4b04e1682c80c42f9"+ },+ "dist": {+ "type": "zip",- "url": "https://api.github.com/repos/symfony/http-client/zipball/7daf5d24c21a683164688b95bb73b7a4bd3b32fc",- "reference": "7daf5d24c21a683164688b95bb73b7a4bd3b32fc",++ "url": "https://api.github.com/repos/symfony/http-client/zipball/3f5545a91c8e79dedd1a06c4b04e1682c80c42f9",++ "reference": "3f5545a91c8e79dedd1a06c4b04e1682c80c42f9",+ "shasum": ""+ },+ "require": {+ "php": ">=8.1",+ "psr/log": "^1|^2|^3",+ "symfony/deprecation-contracts": "^2.1|^3",+ "symfony/http-client-contracts": "^3",+ "symfony/service-contracts": "^1.0|^2|^3"+ },+ "provide": {+ "php-http/async-client-implementation": "*",+ "php-http/client-implementation": "*",+ "psr/http-client-implementation": "1.0",+ "symfony/http-client-implementation": "3.0"+ },+ "require-dev": {+ "amphp/amp": "^2.5",+ "amphp/http-client": "^4.2.1",+ "amphp/http-tunnel": "^1.0",+ "amphp/socket": "^1.1",+ "guzzlehttp/promises": "^1.4",+ "nyholm/psr7": "^1.0",+ "php-http/httplug": "^1.0|^2.0",+ "psr/http-client": "^1.0",+ "symfony/dependency-injection": "^5.4|^6.0",+ "symfony/http-kernel": "^5.4|^6.0",+ "symfony/process": "^5.4|^6.0",+ "symfony/stopwatch": "^5.4|^6.0"+ },+ "type": "library",+ "autoload": {+ "psr-4": {+ "Symfony\\Component\\HttpClient\\": ""+ },+ "exclude-from-classmap": [+ "/Tests/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Nicolas Grekas",+ "email": "[email protected]"+ },+ {+ "name": "Symfony Community",+ "homepage": "https://symfony.com/contributors"+ }+ ],+ "description": "Provides powerful methods to fetch HTTP resources synchronously or asynchronously",+ "homepage": "https://symfony.com",+ "keywords": [+ "http"+ ],+ "support": {- "source": "https://github.com/symfony/http-client/tree/v6.2.9"++ "source": "https://github.com/symfony/http-client/tree/v6.2.10"+ },+ "funding": [+ {+ "url": "https://symfony.com/sponsor",+ "type": "custom"+ },+ {+ "url": "https://github.com/fabpot",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",+ "type": "tidelift"+ }+ ],- "time": "2023-04-11T16:03:19+00:00"++ "time": "2023-04-20T13:12:48+00:00"+ },+ {+ "name": "symfony/http-client-contracts",+ "version": "v3.2.1",+ "source": {+ "type": "git",+ "url": "https://github.com/symfony/http-client-contracts.git",+ "reference": "df2ecd6cb70e73c1080e6478aea85f5f4da2c48b"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/df2ecd6cb70e73c1080e6478aea85f5f4da2c48b",+ "reference": "df2ecd6cb70e73c1080e6478aea85f5f4da2c48b",+ "shasum": ""+ },+ "require": {+ "php": ">=8.1"+ },+ "suggest": {+ "symfony/http-client-implementation": ""+ },+ "type": "library",+ "extra": {+ "branch-alias": {+ "dev-main": "3.3-dev"+ },+ "thanks": {+ "name": "symfony/contracts",+ "url": "https://github.com/symfony/contracts"+ }+ },+ "autoload": {+ "psr-4": {+ "Symfony\\Contracts\\HttpClient\\": ""+ },+ "exclude-from-classmap": [+ "/Test/"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Nicolas Grekas",+ "email": "[email protected]"+ },+ {+ "name": "Symfony Community",+ "homepage": "https://symfony.com/contributors"+ }+ ],+ "description": "Generic abstractions related to HTTP clients",+ "homepage": "https://symfony.com",+ "keywords": [+ "abstractions",+ "contracts",+ "decoupling",+ "interfaces",+ "interoperability",+ "standards"+ ],+ "support": {+ "source": "https://github.com/symfony/http-client-contracts/tree/v3.2.1"+ },+ "funding": [+ {+ "url": "https://symfony.com/sponsor",+ "type": "custom"+ },+ {+ "url": "https://github.com/fabpot",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",+ "type": "tidelift"+ }+ ],+ "time": "2023-03-01T10:32:47+00:00"+ },{"name": "ta-tikoma/phpunit-architecture-test",- "version": "0.7.2",+ "version": "0.7.3","source": {"type": "git","url": "https://github.com/ta-tikoma/phpunit-architecture-test.git",diff --cc database/seeders/ServerSeeder.phpindex 67b91d825e,ca551d1e21..ea8d389ea4--- a/database/seeders/ServerSeeder.php+++ b/database/seeders/ServerSeeder.php@@@ -16,19 -18,29 +18,26 @@@ class ServerSeeder extends Seede{$root_team = Team::find(0);$private_key_1 = PrivateKey::find(1);+Server::create([- 'id' => 1,'name' => "testing-local-docker-container",'description' => "This is a test docker container",'ip' => "coolify-testing-host",'team_id' => $root_team->id,'private_key_id' => $private_key_1->id,+ 'extra_attributes' => ServerMetadata::from([+ 'proxy' => ProxyTypes::TRAEFIK_V2->value+ ]),]);Server::create([- 'id' => 2,'name' => "testing-local-docker-container-2",'description' => "This is a test docker container",'ip' => "coolify-testing-host-2",'team_id' => $root_team->id,'private_key_id' => $private_key_1->id,+ 'extra_attributes' => ServerMetadata::from([+ //+ ]),]);-}}diff --cc resources/views/server/show.blade.phpindex 1fb710c423,9491ce1498..3741224420--- a/resources/views/server/show.blade.php+++ b/resources/views/server/show.blade.php@@@ -1,10 -1,5 +1,13 @@@<x-layout>+ <h1>Server</h1>+ <livewire:server.form :server_id="$server->id" />+ <h2>Destinations</h2>+ @if ($server->standaloneDockers)+ @foreach ($server->standaloneDockers as $docker)+ <p>Network: {{ data_get($docker, 'network') }}</p>+ @endforeach+ @endif+ <h1> {{ $server->name }}</h1>++ <livewire:server.proxy :server="$server"/></x-layout>diff --cc routes/web.phpindex deb7be6f06,198a0bab55..02ad666e9e--- a/routes/web.php+++ b/routes/web.php@@@ -1,11 -1,8 +1,12 @@@<?php+use App\Http\Controllers\ApplicationController;use App\Http\Controllers\HomeController;use App\Http\Controllers\ProjectController;+use App\Models\InstanceSettings;+use App\Models\StandaloneDocker;+use App\Models\SwarmDocker;+ use App\Http\Controllers\ServerController;use Illuminate\Support\Facades\Route;/*@@@ -22,18 -19,18 +23,27 @@@Route::middleware(['auth'])->group(function () {- Route::get('/', [HomeController::class, 'show'])->name('home');+ Route::get('/', function () {+ $projects = session('currentTeam')->load(['projects'])->projects;+ $servers = session('currentTeam')->load(['servers'])->servers;+ $destinations = $servers->map(function ($server) {+ return $server->standaloneDockers->merge($server->swarmDockers);+ })->flatten();+ return view('dashboard', [+ 'servers' => $servers->sortBy('name'),+ 'projects' => $projects->sortBy('name'),+ 'destinations' => $destinations->sortBy('name'),+ ]);+ })->name('dashboard');+ Route::get('/project/{project_uuid}', [ProjectController::class, 'environments'])->name('project.environments');++ Route::get('/project/{project_uuid}/{environment_name}', [ProjectController::class, 'resources'])->name('project.resources');++ Route::get('/project/{project_uuid}/{environment_name}/application/{application_uuid}', [ProjectController::class, 'application'])->name('project.application');+ Route::get('/project/{project_uuid}/{environment_name}/application/{application_uuid}/deployment/{deployment_uuid}', [ProjectController::class, 'deployment'])->name('project.deployment');++ Route::get('/server/{server:uuid}', [ServerController::class, 'show'])->name('server.show');+- // Route::get('/database/{database_uuid}', [ProjectController::class, 'database'])->name('project.database');- // Route::get('//service/{service_uuid}', [ProjectController::class, 'service'])->name('project.service');Route::get('/profile', function () {return view('profile');