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
fix: pr build names in case custom name is used
Andras Bacsai4b744bc88a14
diff --git a/app/Jobs/ApplicationDeploymentJob.php b/app/Jobs/ApplicationDeploymentJob.phpindex 437bd57f5d..0ce794149d 100644--- a/app/Jobs/ApplicationDeploymentJob.php+++ b/app/Jobs/ApplicationDeploymentJob.php@@ -198,7 +198,11 @@ class ApplicationDeploymentJob implements ShouldBeEncrypted, ShouldQueue$this->container_name = generateApplicationContainerName($this->application, $this->pull_request_id);if ($this->application->settings->custom_internal_name && ! $this->application->settings->is_consistent_container_name_enabled) {- $this->container_name = $this->application->settings->custom_internal_name;+ if ($this->pull_request_id === 0) {+ $this->container_name = $this->application->settings->custom_internal_name;+ } else {+ $this->container_name = "{$this->application->settings->custom_internal_name}-pr-{$this->pull_request_id}";+ }}ray('New container name: ', $this->container_name);