HUB
Sign inSign up

mtsandeep/beszel-status-page

By mtsandeep

•Updated about 17 hours ago

A public status page and operator console for your Beszel fleet. One JSON file, no database.

Image
Developer tools
Monitoring & observability
0

1.3K

mtsandeep/beszel-status-page repository overview

⁠beszel status page

A public status page and a private operator console for a small Beszel⁠-monitored fleet. Live uptime, load and disk come from Beszel; the price, renewal date, provider and purpose come from one JSON file you edit in the console.

  • A public page at / — one card per box with uptime, CPU, memory, disk and renewal countdown, or a sortable table of the whole fleet.
  • An alert bar under the fleet title that counts what is down or in error, and narrows the page to those boxes in one click.
  • Groups — public ones for every visitor, private ones only while you are logged in.
  • A console at /admin — edit every field, keep timestamped notes, paste YABS benchmark reports, sync the fleet from Beszel.
  • No database — the whole fleet is a single inventory.json on a volume.

Project homepage: https://beszel-status-page.e4dx.com⁠ · Live demo: https://vpsfx.11b.in⁠ · Source: https://github.com/mtsandeep/beszel-status-page⁠

⁠Quick start

docker run -d --name beszel-status-page -p 4317:4317 \
  -v bsp-data:/data \
  -e BESZEL_URL=https://beszel.example.com \
  -e [email protected] \
  -e BESZEL_PASSWORD='change-me-readonly-password' \
  -e ADMIN_PASSWORD='change-me-admin-password' \
  -e SESSION_SECRET='change-me-session-secret' \
  mtsandeep/beszel-status-page:latest

The three secrets are placeholders, and anything that starts with change-me counts as unset. ADMIN_PASSWORD is required: with a missing or placeholder value the container exits with a message and a suggested password (docker logs beszel-status-page). SESSION_SECRET is optional — one is generated per run, so a restart logs you out.

Public page at http://localhost:4317⁠, console at http://localhost:4317/admin⁠. For a permanent install put those values in .env with --env-file .env instead of -e: -e values are visible in docker inspect and in your shell history.

No Beszel hub yet? Start it with just -e ADMIN_PASSWORD=… and -e MOCK=1 — it runs on a synthetic ten-box fleet so you can see the layout.

⁠Environment

  • BESZEL_URL — your Beszel hub's base URL, e.g. https://beszel.example.com. Empty means mock mode.
  • BESZEL_IDENTITY / BESZEL_PASSWORD — a read-only Beszel user, not your admin login.
  • ADMIN_PASSWORD — password for /admin. Required: no default. Without a real one the container exits with a message and a suggested password.
  • SESSION_SECRET — signs the session cookie. Any long random string; rotating it logs every operator out. Optional: left unset, one is generated per run.
  • TRUST_PROXY — auto (default), always or never. auto reads X-Forwarded-For only when the request came from a private address, i.e. a proxy on the same host or docker network.
  • CLIENT_IP_HEADER — a header your proxy fills with the visitor's address when it is not X-Forwarded-For, e.g. cf-connecting-ip.
  • COOKIE_SECURE — auto (default), always or never: when the session cookie is marked Secure. auto does so whenever the request came over https.
  • A reverse proxy has to pass Host through unchanged, or set X-Forwarded-Host to the original, because saves in /admin are checked against it. nginx rewrites Host by default (proxy_set_header Host $host; keeps it); Caddy and Traefik pass it through. If this is wrong, every save answers 403 with a message naming both hosts.
  • PORT — default 4317.
  • DATA_DIR — default /data, which is where the volume mounts.
  • MOCK=1 — synthetic fleet, for a look without a hub.
  • FX=off — skip the daily reference-rate fetch; totals convert from the built-in table instead.

⁠Volume

Everything you edit lives in /data:

  • /data/inventory.json — nodes, prices, renewals, notes and settings
  • /data/yabs.json — benchmark reports

Mount a named volume (-v bsp-data:/data) or a host path. The folder is seeded on first run, so an empty volume is fine. Back up that one directory and you have backed up the app.

⁠Images and tags

linux/amd64 and linux/arm64. Every release publishes latest, the version tags 1.2.3 and 1.2, and sha-<short> for its commit. Pin a version in production:

docker run -d -p 4317:4317 -v bsp-data:/data --env-file .env mtsandeep/beszel-status-page:1.2.3

⁠The read-only user

BESZEL_IDENTITY must be a Beszel user with the Read only role, and the systems you want to publish must be assigned to it. Create it in the Beszel hub's dashboard, or let the app do it: /admin/settings → Configure Beszel hub → set up creates the user, shares the systems you tick, and prints the two .env lines.

Publishing money and contract dates is opt-in in /admin/settings: a fresh install shows metrics and specs only.

Not affiliated with Beszel. This is an independent, community-made front end — not official, not endorsed by, and not maintained by the Beszel project or its authors, and it makes no claim of any kind to the name, trademark, logo or copyright of Beszel. All credit for the hub, the agents, the API and the documentation belongs to its authors.

MIT licensed.

Tag summary
Recent tags
Content type
Image
Digest
sha256:13e8b433f…
Size
54.8 MB
Last updated
about 17 hours ago
docker pull mtsandeep/beszel-status-page:latest