From 45a18c0ecb364c42307641b4057ff5a814e69b2e Mon Sep 17 00:00:00 2001 From: Leonardo Bishop Date: Fri, 25 Apr 2025 00:54:15 +0100 Subject: Version control --- status.php | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 status.php (limited to 'status.php') diff --git a/status.php b/status.php new file mode 100644 index 0000000..3789d9e --- /dev/null +++ b/status.php @@ -0,0 +1,72 @@ + + + + + + Bongo status + + + + + +
+

Bongo status

+ Home + +
+ ' . $service->prettyName . ''; + $containers = []; + if (is_array($service->containerName)) { + $containers = $service->containerName; + } else { + $containers = [$service->containerName]; + } + ?> + luks !== null) : ?> + luks; + $mountpoint = exec('cat /proc/mounts | grep "/dev/mapper/' . $luksDevice->mountPoint . ' /mnt/' . $luksDevice->mountPoint . '"'); + if (empty($mountpoint)) { + Util\createBanner('✗', '/dev/mapper/' . $luksDevice->mountPoint . ' is not mounted at /mnt/' . $luksDevice->mountPoint, 'bad'); + } else { + Util\createBanner('✓', '/dev/mapper/' . $luksDevice->mountPoint . ' is mounted at /mnt/' . $luksDevice->mountPoint, 'good'); + } + ?> +

+ [Mount device or provide encryption key] +

+

+

+ Output + + + + +
+

+ + + + isNotFound === false) : ?> +

+ [Manage container] +

+

+

+ Status as reported by Docker + + +
+

+ + + +
+ -- cgit v1.2.3-70-g09d2