forked from coollabsio/coolify
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: parse proxy config and check the set ports usage
- Loading branch information
1 parent
5bcd813
commit 5f07b47
Showing
6 changed files
with
59 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
<div x-init="$wire.checkProxy()" class="flex gap-2"> | ||
@if (data_get($server, 'proxy.status') === 'running') | ||
<x-status.running status="Proxy Running" /> | ||
<x-status.running status="Proxy Running" noLoading /> | ||
@elseif (data_get($server, 'proxy.status') === 'restarting') | ||
<x-status.restarting status="Proxy Restarting" /> | ||
<x-status.restarting status="Proxy Restarting" noLoading /> | ||
@elseif (data_get($server, 'proxy.force_stop')) | ||
<x-status.stopped status="Proxy Stopped" /> | ||
<x-status.stopped status="Proxy Stopped" noLoading /> | ||
@elseif (data_get($server, 'proxy.status') === 'exited') | ||
<x-status.stopped status="Proxy Exited" /> | ||
<x-status.stopped status="Proxy Exited" noLoading /> | ||
@else | ||
<x-status.stopped status="Proxy Not Running" /> | ||
<x-status.stopped status="Proxy Not Running" noLoading /> | ||
@endif | ||
<x-forms.button wire:click='checkProxy(true)'>Refresh</x-forms.button> | ||
</div> |