2
2
3
3
Light weight web interface for [ Network UPS Tools] ( https://networkupstools.org/ ) .
4
4
5
- ** Quickstart:**
5
+ <div style =" width : 100% ; display : flex ; justify-content : space-between ; flex-direction : row ; gap : 1rem ;" >
6
+
7
+ ![ DetailImage] ( docs/images/details.webp )
8
+
9
+ ![ ListImage] ( docs/images/home.webp )
10
+
11
+ </div >
12
+
13
+ ## Quickstart
6
14
7
15
``` shell
8
16
docker run -e UPSD_ADDR=10.0.0.1 -e UPSD_USER=test -e UPSD_PASS=strongpass -p 9000:9000 ghcr.io/superioone/nut_webgui:latest
@@ -19,13 +27,18 @@ docker run -e UPSD_ADDR=10.0.0.1 -e UPSD_USER=test -e UPSD_PASS=strongpass -p 90
19
27
> In order to run ` INSTCMD ` , make sure the configured user has proper instcmds granted at ` upsd.users ` . See
20
28
> man([ upsd.users] ( https://networkupstools.org/docs/man/upsd.users.html ) ).
21
29
30
+ ## Examples
31
+
32
+ - [ Kubernetes with EndpointSlice] ( docs/kubernetes_example.md )
33
+ - [ Docker compose] ( docs/docker_compose.md )
34
+
22
35
## CPU architecture support
23
36
24
37
| Arch | Test Hardware | Notes |
25
38
| --------------| -------------------------| ------------------------------------------------------------------------------------------|
26
- | amd64 | AM4 | Works across all amd64 platforms. |
27
- | amd64-v3 | AM4 | Snake oil level optimizations with AVX. It mostly reduces response compression overhead. |
28
- | amd64-v4 | Not Tested | Snake oil level optimizations with AVX-512. |
39
+ | amd64 | AM4 CPU | Works across all amd64 platforms. |
40
+ | amd64-v3 | AM4 CPU | Snake oil level optimizations with AVX. It mostly reduces response compression overhead. |
41
+ | amd64-v4 | Intel® SDE | Snake oil level optimizations with AVX-512. |
29
42
| arm64 | Raspberry Pi 4 Model B | |
30
43
| armv7 | Qemu emulation | |
31
44
| armv6 | Qemu emulation | |
@@ -34,11 +47,6 @@ docker run -e UPSD_ADDR=10.0.0.1 -e UPSD_USER=test -e UPSD_PASS=strongpass -p 90
34
47
> amd64 v3 and v4 variants require certain CPU feature flags to run. If you are a crackhead min-max enjoyer (like me), you can use ` nut_webgui:latest-amd64-v3 ` and ` nut_webgui:latest-amd64-v4 ` images.
35
48
> See [ x86-64 Microarchitecture levels] ( https://en.wikipedia.org/wiki/X86-64#Microarchitecture_levels ) for more details.
36
49
37
- ![ DetailImage] ( docs/images/details.webp )
38
-
39
- ![ ListImage] ( docs/images/list.webp )
40
-
41
- ![ INSTCMDImage] ( docs/images/inst_cmd.webp )
42
50
43
51
## Command-Line arguments
44
52
@@ -67,18 +75,15 @@ docker run -e UPSD_ADDR=10.0.0.1 -e UPSD_USER=test -e UPSD_PASS=strongpass -p 90
67
75
68
76
## JSON data API
69
77
70
- A simple JSON-based API is available for integration and automation purposes. For usage details
71
- see [ JSON data API page.] ( ./docs/json_api.md )
72
-
73
- ## Probes
78
+ A simple JSON-based API is available for integration and automation purposes.
74
79
75
- The server offers a basic health probe at the ` /probes/health ` endpoint. This can be used as liveness or readiness
76
- checks in your systems.
80
+ OpenAPI 3.1.0 specification files: [ json minimized] ( ./docs/openapi3_spec.json ) | [ yaml] ( ./docs/openapi3_spec.yaml )
77
81
78
- ## Examples
82
+ ## Probes
79
83
80
- - [ Kubernetes with EndpointSlice] ( docs/kubernetes_example.md )
81
- - [ Docker compose] ( docs/docker_compose.md )
84
+ nut_webgui has basic probe endpoints to check server health and readiness:
85
+ - ` /probes/health `
86
+ - ` /probes/readiness `
82
87
83
88
## Building from source and debugging
84
89
0 commit comments