mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-17 04:59:30 +00:00
fix
This commit is contained in:
@@ -67,7 +67,7 @@ class Form extends Component
|
|||||||
];
|
];
|
||||||
if ($schema === 'https') {
|
if ($schema === 'https') {
|
||||||
$entryPoints[] = 'https';
|
$entryPoints[] = 'https';
|
||||||
$middlewares[] = 'redirect-to-https';
|
$middlewares[] = 'redirect-to-https@docker';
|
||||||
}
|
}
|
||||||
|
|
||||||
$traefik_dynamic_conf = [
|
$traefik_dynamic_conf = [
|
||||||
|
|||||||
@@ -20,31 +20,32 @@
|
|||||||
<div class="dropdown dropdown-bottom">
|
<div class="dropdown dropdown-bottom">
|
||||||
<button tabindex="0"
|
<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">
|
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 />
|
<x-chevron-down />
|
||||||
</button>
|
</button>
|
||||||
<ul tabindex="0"
|
<ul tabindex="0"
|
||||||
class="text-xs text-white normal-case rounded min-w-max dropdown-content menu bg-coolgray-200">
|
class="text-xs text-white normal-case rounded min-w-max dropdown-content menu bg-coolgray-200">
|
||||||
<li>
|
@if (data_get($application, 'fqdn'))
|
||||||
<a class="text-xs" target="_blank" href="{{ $application->gitBranchLocation }}">
|
<li>
|
||||||
Open on Git
|
<a class="text-xs hover:no-underline hover:bg-coollabs" target="_blank"
|
||||||
<x-external-link />
|
href="{{ $application->fqdn }}">
|
||||||
</a>
|
{{ $application->fqdn }}
|
||||||
</li>
|
</a>
|
||||||
|
</li>
|
||||||
|
@endif
|
||||||
@if (data_get($application, 'ports_mappings_array'))
|
@if (data_get($application, 'ports_mappings_array'))
|
||||||
@foreach ($application->ports_mappings_array as $port)
|
@foreach ($application->ports_mappings_array as $port)
|
||||||
@if (config('app.env') === 'local')
|
@if (config('app.env') === 'local')
|
||||||
<li>
|
<li>
|
||||||
<a class="text-xs " target="_blank"
|
<a class="text-xs hover:no-underline hover:bg-coollabs" target="_blank"
|
||||||
href="http://localhost:{{ explode(':', $port)[0] }}">Open
|
href="http://localhost:{{ explode(':', $port)[0] }}">Port
|
||||||
{{ explode(':', $port)[0] }}
|
{{ explode(':', $port)[0] }}
|
||||||
<x-external-link />
|
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
@else
|
@else
|
||||||
<li>
|
<li>
|
||||||
<a class="text-xs" target="_blank"
|
<a class="text-xs hover:no-underline hover:bg-coollabs" target="_blank"
|
||||||
href="http://{{ $application->destination->server->ip }}:{{ explode(':', $port)[0] }}">Open
|
href="http://{{ $application->destination->server->ip }}:{{ explode(':', $port)[0] }}">Port
|
||||||
{{ $port }}</a>
|
{{ $port }}</a>
|
||||||
</li>
|
</li>
|
||||||
@endif
|
@endif
|
||||||
|
|||||||
@@ -9,10 +9,10 @@
|
|||||||
<ul tabindex="0"
|
<ul tabindex="0"
|
||||||
class="text-xs text-white normal-case rounded min-w-max dropdown-content menu bg-coolgray-200">
|
class="text-xs text-white normal-case rounded min-w-max dropdown-content menu bg-coolgray-200">
|
||||||
<li>
|
<li>
|
||||||
<div wire:click='deploy'>Restart</div>
|
<div class="hover:bg-coollabs" wire:click='deploy'>Restart</div>
|
||||||
</li>
|
</li>
|
||||||
<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>
|
||||||
<li>
|
<li>
|
||||||
<div class="hover:bg-red-500" wire:click='stop'>Stop</div>
|
<div class="hover:bg-red-500" wire:click='stop'>Stop</div>
|
||||||
@@ -29,10 +29,10 @@
|
|||||||
<ul tabindex="0"
|
<ul tabindex="0"
|
||||||
class="text-xs text-white normal-case rounded min-w-max dropdown-content menu bg-coolgray-200">
|
class="text-xs text-white normal-case rounded min-w-max dropdown-content menu bg-coolgray-200">
|
||||||
<li>
|
<li>
|
||||||
<div wire:click='deploy'>Deploy</div>
|
<div class="hover:bg-coollabs" wire:click='deploy'>Deploy</div>
|
||||||
</li>
|
</li>
|
||||||
<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>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -7,16 +7,13 @@
|
|||||||
Commits
|
Commits
|
||||||
<x-external-link />
|
<x-external-link />
|
||||||
</a>
|
</a>
|
||||||
|
<a target="_blank" href="{{ $application->gitBranchLocation }}">
|
||||||
|
Open Repository
|
||||||
|
<x-external-link />
|
||||||
|
</a>
|
||||||
</div>
|
</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="coollabsio/coolify-example" id="application.git_repository" label="Repository" />
|
||||||
<x-forms.input placeholder="main" id="application.git_branch" label=" Branch" />
|
<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" />
|
<x-forms.input placeholder="HEAD" id="application.git_commit_sha" placeholder="HEAD" label="Commit SHA" />
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user