Skip to content

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.

fix(application): update service environment variables when generating domain for Docker Compose

Andras Bacsai039aa863212f
diff --git a/app/Livewire/Project/Application/General.php b/app/Livewire/Project/Application/General.php
index ac2e6794d4..03b67dce66 100644
--- a/app/Livewire/Project/Application/General.php
+++ b/app/Livewire/Project/Application/General.php
@@ -274,6 +274,7 @@ class General extends Component
$this->application->save();
$this->dispatch('success', 'Domain generated.');
if ($this->application->build_pack === 'dockercompose') {
+ $this->updateServiceEnvironmentVariables();
$this->loadComposeFile();
}