@yuuki824/kanshi 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env.example +3 -3
- package/README.md +2 -2
- package/docker-compose.yml +3 -4
- package/package.json +1 -1
package/.env.example
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Copy to .env to override. Every value here is the built-in default.
|
|
2
2
|
|
|
3
|
-
# Bind address.
|
|
4
|
-
#
|
|
5
|
-
KANSHI_HOST=
|
|
3
|
+
# Bind address. Localhost keeps the dashboard private. Use this host's
|
|
4
|
+
# Tailscale IP to share it on a tailnet; 0.0.0.0 exposes it everywhere.
|
|
5
|
+
KANSHI_HOST=127.0.0.1
|
|
6
6
|
KANSHI_PORT=8100
|
|
7
7
|
|
|
8
8
|
# Live metrics
|
package/README.md
CHANGED
|
@@ -4,9 +4,9 @@ A one-page, mobile-first glance at this homeserver: live CPU and RAM, a
|
|
|
4
4
|
Filelight-style storage treemap, and `docker stats` for every container — no
|
|
5
5
|
historical storage, no alerting, no external services.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
By default it is reachable only from the local machine:
|
|
8
8
|
|
|
9
|
-
http://
|
|
9
|
+
http://localhost:8100
|
|
10
10
|
|
|
11
11
|
## Install with npx
|
|
12
12
|
|
package/docker-compose.yml
CHANGED
|
@@ -10,10 +10,9 @@ services:
|
|
|
10
10
|
network_mode: host
|
|
11
11
|
|
|
12
12
|
environment:
|
|
13
|
-
#
|
|
14
|
-
#
|
|
15
|
-
|
|
16
|
-
KANSHI_HOST: "${KANSHI_HOST:-100.73.243.14}"
|
|
13
|
+
# Localhost is safe for a package install. Set this to a Tailscale IP to
|
|
14
|
+
# share it on a tailnet, or 0.0.0.0 only behind an authenticated proxy.
|
|
15
|
+
KANSHI_HOST: "${KANSHI_HOST:-127.0.0.1}"
|
|
17
16
|
KANSHI_PORT: "${KANSHI_PORT:-8100}"
|
|
18
17
|
|
|
19
18
|
# Live poll cadence. Each tick is one /containers/json plus one /stats per
|