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: domain update on services on the UI
Andras Bacsai802cab4a70e8
diff --git a/app/Livewire/Project/Shared/EnvironmentVariable/Show.php b/app/Livewire/Project/Shared/EnvironmentVariable/Show.phpindex 8c8c1be7bc..b291bfcfe2 100644--- a/app/Livewire/Project/Shared/EnvironmentVariable/Show.php+++ b/app/Livewire/Project/Shared/EnvironmentVariable/Show.php@@ -24,6 +24,7 @@ class Show extends Componentpublic string $type;protected $listeners = [+ 'refresh' => 'refresh','compose_loaded' => '$refresh',];@@ -46,6 +47,12 @@ class Show extends Component'env.is_shown_once' => 'Shown Once',];+ public function refresh()+ {+ $this->env->refresh();+ $this->checkEnvs();+ }+public function mount(){if ($this->env->getMorphClass() === 'App\Models\SharedEnvironmentVariable') {diff --git a/resources/views/livewire/project/service/edit-domain.blade.php b/resources/views/livewire/project/service/edit-domain.blade.phpindex 214b729fb2..5528834ebc 100644--- a/resources/views/livewire/project/service/edit-domain.blade.php+++ b/resources/views/livewire/project/service/edit-domain.blade.php@@ -1,5 +1,6 @@<form wire:submit.prevent='submit' class="flex flex-col w-full gap-2">- <div class="pb-2">Note: If a service has a defined port, do not delete it. <br>If you want to use your custom domain, you can add it with a port.</div>+ <div class="pb-2">Note: If a service has a defined port, do not delete it. <br>If you want to use your custom+ domain, you can add it with a port.</div><x-forms.input placeholder="https://app.coolify.io" label="Domains" id="application.fqdn"helper="You can specify one domain with path or more with comma. You can specify a port to bind the domain to.<br><br><span class='text-helper'>Example</span><br>- http://app.coolify.io,https://cloud.coolify.io/dashboard<br>- http://app.coolify.io/api/v3<br>- http://app.coolify.io:3000 -> app.coolify.io will point to port 3000 inside the container. "></x-forms.input><x-forms.button type="submit">Save</x-forms.button>