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

Andras Bacsai15af5e5b37dc
diff --git a/app/Http/Livewire/Settings/Form.php b/app/Http/Livewire/Settings/Form.php
index 5f5e48df25..920ba257d4 100644
--- a/app/Http/Livewire/Settings/Form.php
+++ b/app/Http/Livewire/Settings/Form.php
@@ -67,7 +67,7 @@ class Form extends Component
];
if ($schema === 'https') {
$entryPoints[] = 'https';
- $middlewares[] = 'redirect-to-https';
+ $middlewares[] = 'redirect-to-https@docker';
}
$traefik_dynamic_conf = [
diff --git a/resources/views/components/applications/navbar.blade.php b/resources/views/components/applications/navbar.blade.php
index 735792080f..60e5e4084a 100644
--- a/resources/views/components/applications/navbar.blade.php
+++ b/resources/views/components/applications/navbar.blade.php
@@ -20,31 +20,32 @@
<div class="dropdown dropdown-bottom">
<button tabindex="0"
class="flex items-center justify-center h-full text-white normal-case bg-transparent border-none rounded btn btn-xs no-animation">
- Links
+ Open
<x-chevron-down />
</button>
<ul tabindex="0"
class="text-xs text-white normal-case rounded min-w-max dropdown-content menu bg-coolgray-200">
- <li>
- <a class="text-xs" target="_blank" href="{{ $application->gitBranchLocation }}">
- Open on Git
- <x-external-link />
- </a>
- </li>
+ @if (data_get($application, 'fqdn'))
+ <li>
+ <a class="text-xs hover:no-underline hover:bg-coollabs" target="_blank"
+ href="{{ $application->fqdn }}">
+ {{ $application->fqdn }}
+ </a>
+ </li>
+ @endif
@if (data_get($application, 'ports_mappings_array'))
@foreach ($application->ports_mappings_array as $port)
@if (config('app.env') === 'local')
<li>
- <a class="text-xs " target="_blank"
- href="http://localhost:{{ explode(':', $port)[0] }}">Open
+ <a class="text-xs hover:no-underline hover:bg-coollabs" target="_blank"
+ href="http://localhost:{{ explode(':', $port)[0] }}">Port
{{ explode(':', $port)[0] }}
- <x-external-link />
</a>
</li>
@else
<li>
- <a class="text-xs" target="_blank"
- href="http://{{ $application->destination->server->ip }}:{{ explode(':', $port)[0] }}">Open
+ <a class="text-xs hover:no-underline hover:bg-coollabs" target="_blank"
+ href="http://{{ $application->destination->server->ip }}:{{ explode(':', $port)[0] }}">Port
{{ $port }}</a>
</li>
@endif
diff --git a/resources/views/livewire/project/application/deploy.blade.php b/resources/views/livewire/project/application/deploy.blade.php
index e2e4658123..a2bec62aa8 100644
--- a/resources/views/livewire/project/application/deploy.blade.php
+++ b/resources/views/livewire/project/application/deploy.blade.php
@@ -9,10 +9,10 @@
<ul tabindex="0"
class="text-xs text-white normal-case rounded min-w-max dropdown-content menu bg-coolgray-200">
<li>
- <div wire:click='deploy'>Restart</div>
+ <div class="hover:bg-coollabs" wire:click='deploy'>Restart</div>
</li>
<li>
- <div wire:click='deploy(true)'>Force deploy without cache</div>
+ <div class="hover:bg-coollabs" wire:click='deploy(true)'>Force deploy without cache</div>
</li>
<li>
<div class="hover:bg-red-500" wire:click='stop'>Stop</div>
@@ -29,10 +29,10 @@
<ul tabindex="0"
class="text-xs text-white normal-case rounded min-w-max dropdown-content menu bg-coolgray-200">
<li>
- <div wire:click='deploy'>Deploy</div>
+ <div class="hover:bg-coollabs" wire:click='deploy'>Deploy</div>
</li>
<li>
- <div wire:click='deploy(true)'>Deploy without cache</div>
+ <div class="hover:bg-coollabs" wire:click='deploy(true)'>Deploy without cache</div>
</li>
</ul>
</div>
diff --git a/resources/views/livewire/project/application/source.blade.php b/resources/views/livewire/project/application/source.blade.php
index d15046324e..bff8ef355b 100644
--- a/resources/views/livewire/project/application/source.blade.php
+++ b/resources/views/livewire/project/application/source.blade.php
@@ -7,16 +7,13 @@
Commits
<x-external-link />
</a>
+ <a target="_blank" href="{{ $application->gitBranchLocation }}">
+ Open Repository
+ <x-external-link />
+ </a>
</div>
- {{-- <div>{{ data_get($application, 'source.name') }}
- @if (data_get($application, 'source.is_public'))
- <span class="text-xs">public</span>
- @endif
- </div> --}}
<x-forms.input placeholder="coollabsio/coolify-example" id="application.git_repository" label="Repository" />
<x-forms.input placeholder="main" id="application.git_branch" label=" Branch" />
<x-forms.input placeholder="HEAD" id="application.git_commit_sha" placeholder="HEAD" label="Commit SHA" />
-
</form>
-
</div>