4 MIN READ

Part of Mia · mia · proxmox · homelab · go

Mia: a Proxmox dashboard that installs with one command

Why our Proxmox dashboard ships as one Go binary, has no accounts of its own, never runs as root, and installs apps in a terminal you can read.

Mia apps page: the community-scripts catalog with categories and search

Mia is a web dashboard for Proxmox VE that installs with one command and ships as one binary. This post is about the decisions behind it: why it has no accounts of its own, why it refuses to run as root, and why installing an app means watching a script run in a terminal instead of clicking a button that hides it.

One command, one binary

The whole thing is a Go binary of about 9 MB with the React frontend embedded. The installer downloads it from the GitHub release, checks the checksum, creates a mia user, writes a systemd unit and starts it. Nothing else lands on the host: no Node, no Python, no database, no Docker. Running the same command again opens a menu to update, change the port or uninstall.

That constraint shaped everything after it. A single binary means the update is a file swap. It means the frontend can't drift from the backend. And it means a Proxmox host, which people rightly treat as something you don't mess with, stays almost untouched.

Your Proxmox account is the account

Mia has no users table. Login calls the Proxmox API, gets a ticket for that user, and every request Mia makes to Proxmox carries that same ticket. Two-factor works because Proxmox handles it. Permissions work because Proxmox enforces them: a user who can only see one VM opens Mia and sees one VM.

We considered a service account with broad rights and a permission layer inside Mia. It would have been more convenient and strictly worse. Every rule we wrote would be a rule Proxmox already has, and every mismatch between the two would be a security bug waiting for someone to find it.

Never root

The service runs as its own unprivileged user, in the www-data group only to read the pveproxy certificate, with systemd sandboxing on. The things that genuinely need root on the node, installing an app from the community scripts, creating the Tailscale gateway, run in the node console, with your root@pam ticket, where you read every command before and while it runs.

This is also why app installs look the way they do. Mia opens the node shell in the browser and runs the script there. You watch it, you answer its prompts, you see what it did. The catalog is the Proxmox VE Helper-Scripts one, about 700 apps, with search and categories and the defaults pre-filled. It would have been easy to hide the terminal behind a progress bar. We think the terminal is the feature.

HTTPS without a certificate dance

Mia reuses the certificate Proxmox already has, the ACME or custom one if it exists, the self-signed one otherwise. If your browser trusts Proxmox at port 8006 it trusts Mia at port 8443. If it can't read those files it generates its own self-signed certificate and tells you.

What the overview is for

The first screen answers the questions a homelab actually asks. Average cluster load against the previous period, over 24 hours, 7 days or 30 days. A dot plot of CPU use across every guest, with the peak highlighted, so you see at a glance that one container is pinned while the rest idle. The CPU and RAM trend with backup windows drawn in, taken from the vzdump tasks, because half the "what happened at 2 a.m." questions are backups. And which guests drove the peak, named.

Tailscale, two ways

Save an auth key once. Then one click creates a small Debian LXC running Tailscale as a subnet router for the bridge's network, so everything on the LAN is reachable over the VPN, including what you add later. Or, for one app, Mia installs Tailscale inside that container and publishes it at its own address with tailscale serve. The second one is how we expose Mia itself on our homelab.

What is not there

Health, Backups, Firewall and Tasks are placeholders. Backup jobs, guest migration and notifications are not built. It's written on the page and in the README so nobody finds out after installing.

Status

In production on our own cluster, the same 2013 office PC that runs Jumper. MIT licensed, code and releases at github.com/LucasUltremare/nomade-server. If you want it installed and wired to your Tailscale, write to [email protected].

Join the builders

New projects, the code behind them and what broke on the way. One e-mail when there is something worth opening.

We send a link to confirm. Leave anytime with one click. Never sold or shared. How we handle it

Comments

No comments yet. Start the conversation.

Sign in with Google to comment

Signing in keeps out bots and spam. Only your Google name and photo appear next to what you write; your e-mail is never shown.

Keep reading