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
new notification links
peaklabs-dev75491098a0bd
diff --git a/app/Notifications/Application/DeploymentFailed.php b/app/Notifications/Application/DeploymentFailed.phpindex fae8951fd6..191f7bd2e2 100644--- a/app/Notifications/Application/DeploymentFailed.php+++ b/app/Notifications/Application/DeploymentFailed.php@@ -26,6 +26,8 @@ class DeploymentFailed extends Notification implements ShouldQueuepublic string $project_uuid;+ public string $environment_uuid;+public string $environment_name;public ?string $deployment_url = null;@@ -40,12 +42,13 @@ class DeploymentFailed extends Notification implements ShouldQueue$this->preview = $preview;$this->application_name = data_get($application, 'name');$this->project_uuid = data_get($application, 'environment.project.uuid');+ $this->environment_uuid = data_get($application, 'environment.uuid');$this->environment_name = data_get($application, 'environment.name');$this->fqdn = data_get($application, 'fqdn');if (str($this->fqdn)->explode(',')->count() > 1) {$this->fqdn = str($this->fqdn)->explode(',')->first();}- $this->deployment_url = base_url()."/project/{$this->project_uuid}/".urlencode($this->environment_name)."/application/{$this->application->uuid}/deployment/{$this->deployment_uuid}";+ $this->deployment_url = base_url()."/project/{$this->project_uuid}/environments/{$this->environment_uuid}/application/{$this->application->uuid}/deployment/{$this->deployment_uuid}";}public function via(object $notifiable): arraydiff --git a/app/Notifications/Application/DeploymentSuccess.php b/app/Notifications/Application/DeploymentSuccess.phpindex bfdef9f257..05e3048c5a 100644--- a/app/Notifications/Application/DeploymentSuccess.php+++ b/app/Notifications/Application/DeploymentSuccess.php@@ -26,6 +26,8 @@ class DeploymentSuccess extends Notification implements ShouldQueuepublic string $project_uuid;+ public string $environment_uuid;+public string $environment_name;public ?string $deployment_url = null;@@ -40,12 +42,13 @@ class DeploymentSuccess extends Notification implements ShouldQueue$this->preview = $preview;$this->application_name = data_get($application, 'name');$this->project_uuid = data_get($application, 'environment.project.uuid');+ $this->environment_uuid = data_get($application, 'environment.uuid');$this->environment_name = data_get($application, 'environment.name');$this->fqdn = data_get($application, 'fqdn');if (str($this->fqdn)->explode(',')->count() > 1) {$this->fqdn = str($this->fqdn)->explode(',')->first();}- $this->deployment_url = base_url()."/project/{$this->project_uuid}/".urlencode($this->environment_name)."/application/{$this->application->uuid}/deployment/{$this->deployment_uuid}";+ $this->deployment_url = base_url()."/project/{$this->project_uuid}/environments/{$this->environment_uuid}/application/{$this->application->uuid}/deployment/{$this->deployment_uuid}";}public function via(object $notifiable): arraydiff --git a/app/Notifications/Application/StatusChanged.php b/app/Notifications/Application/StatusChanged.phpindex 3b062effbf..be18b800b4 100644--- a/app/Notifications/Application/StatusChanged.php+++ b/app/Notifications/Application/StatusChanged.php@@ -19,6 +19,8 @@ class StatusChanged extends Notification implements ShouldQueuepublic string $project_uuid;+ public string $environment_uuid;+public string $environment_name;public ?string $resource_url = null;@@ -30,12 +32,12 @@ class StatusChanged extends Notification implements ShouldQueue$this->onQueue('high');$this->resource_name = data_get($resource, 'name');$this->project_uuid = data_get($resource, 'environment.project.uuid');- $this->environment_name = data_get($resource, 'environment.name');+ $this->environment_uuid = data_get($resource, 'environment.uuid');$this->fqdn = data_get($resource, 'fqdn', null);if (str($this->fqdn)->explode(',')->count() > 1) {$this->fqdn = str($this->fqdn)->explode(',')->first();}- $this->resource_url = base_url()."/project/{$this->project_uuid}/".urlencode($this->environment_name)."/application/{$this->resource->uuid}";+ $this->resource_url = base_url()."/project/{$this->project_uuid}/environments/{$this->environment_uuid}/application/{$this->resource->uuid}";}public function via(object $notifiable): array