-
Submit
-
Check Server
-
Install Docker
-
- Delete
-
+
+ Validate Server
+ Install Docker
+
-
@isset($uptime)
diff --git a/resources/views/livewire/server/proxy.blade.php b/resources/views/livewire/server/proxy.blade.php
index 91832611c..ca3b1629a 100644
--- a/resources/views/livewire/server/proxy.blade.php
+++ b/resources/views/livewire/server/proxy.blade.php
@@ -1,30 +1,52 @@
-
Proxy
- @if($this->server->extra_attributes->proxy)
-
-
- Proxy type: {{ $this->server->extra_attributes->proxy }}
-
-
Features in W11.
-
- - Edit config file
- - Enable dashboard (blocking port by firewall)
- - Dashboard access - login/password
- - Setup host for Traefik Dashboard
- - Visit (nav to traefik dashboard)
-
-
- @else
- No proxy installed.
+ @if ($this->server->extra_attributes->proxy_status !== 'running')
-
+
Set Proxy
+ @endif
+ @if ($this->server->extra_attributes->proxy_type)
+
+ @if (
+ $this->server->extra_attributes->last_applied_proxy_settings &&
+ $this->server->extra_attributes->last_saved_proxy_settings !==
+ $this->server->extra_attributes->last_applied_proxy_settings)
+
Configuration out of sync.
+ @endif
+ @if ($this->server->extra_attributes->proxy_status !== 'running')
+
+ Install
+
+ @endif
+
Stop
+
+ Show Configuration
+
+
+
+
+
+
+
Configuration
+
+
+
+ @isset($this->proxy_settings)
+
+ @endisset
+
+
+
+
@endif
-
-
-
diff --git a/resources/views/server/show.blade.php b/resources/views/server/show.blade.php
index d8cd68126..761e61747 100644
--- a/resources/views/server/show.blade.php
+++ b/resources/views/server/show.blade.php
@@ -1,20 +1,34 @@
- Server
-
diff --git a/scripts/run b/scripts/run
index 90a0b2234..f08d133bc 100755
--- a/scripts/run
+++ b/scripts/run
@@ -34,9 +34,12 @@ function schedule-run {
function reset-db {
bash vendor/bin/spin exec -u webuser coolify php artisan migrate:fresh --seed
}
+function mfs {
+ reset-db
+}
function reset-db-production {
bash vendor/bin/spin exec -u webuser coolify php artisan migrate:fresh --force --seed --seeder=ProductionSeeder ||
- php artisan migrate:fresh --force --seed --seeder=ProductionSeeder
+ php artisan migrate:fresh --force --seed --seeder=ProductionSeeder
}
function coolify {
bash vendor/bin/spin exec -u webuser coolify bash
diff --git a/vite.config.js b/vite.config.js
index 51bfdb8c9..f506ed458 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -7,9 +7,9 @@ export default defineConfig({
host: "0.0.0.0",
hmr: process.env.GITPOD_WORKSPACE_URL
? {
- // Due to port fowarding, we have to replace
+ // Due to port forwarding, we have to replace
// 'https' with the forwarded port, as this
- // is the URI created by Gitpod.
+ // is the URI created by GitPod.
host: process.env.GITPOD_WORKSPACE_URL.replace(
"https://",
"5173-"