From 6d4006fd93143639326d09175379fd85e56bfe49 Mon Sep 17 00:00:00 2001 From: MacRimi Date: Thu, 12 Mar 2026 22:13:56 +0100 Subject: [PATCH] update oci manager --- AppImage/components/secure-gateway-setup.tsx | 48 ++---- AppImage/scripts/flask_oci_routes.py | 30 ++++ AppImage/scripts/health_monitor.py | 67 ++++---- AppImage/scripts/oci_manager.py | 154 ++++++++++++++++++- 4 files changed, 226 insertions(+), 73 deletions(-) diff --git a/AppImage/components/secure-gateway-setup.tsx b/AppImage/components/secure-gateway-setup.tsx index 044a95eb..9e5ee377 100644 --- a/AppImage/components/secure-gateway-setup.tsx +++ b/AppImage/components/secure-gateway-setup.tsx @@ -99,7 +99,7 @@ export function SecureGatewaySetup() { const loadInitialData = async () => { setLoading(true) try { - // Load runtime info + // Load runtime info (just for display, deploy will auto-install if needed) const runtimeRes = await fetchApi("/api/oci/runtime") if (runtimeRes.success && runtimeRes.available) { setRuntimeAvailable(true) @@ -602,37 +602,6 @@ export function SecureGatewaySetup() { ) } - // Runtime not available - if (!runtimeAvailable) { - return ( - - -
- - Secure Gateway -
- VPN access without opening ports -
- -
-
- -
-

Container Runtime Required

-

- Install Podman or Docker to use OCI applications. -

- - apt install podman - -
-
-
-
-
- ) - } - // Installed state if (appStatus.state !== "not_installed") { const isRunning = appStatus.state === "running" @@ -828,10 +797,17 @@ export function SecureGatewaySetup() { Deploy a Tailscale VPN gateway for secure remote access to your Proxmox infrastructure. No port forwarding required.

-
- - {runtimeInfo?.runtime} {runtimeInfo?.version} available -
+ {runtimeAvailable ? ( +
+ + {runtimeInfo?.runtime} {runtimeInfo?.version} available +
+ ) : ( +
+ + Podman will be installed automatically during deployment +
+ )}