Homelable: Draw Your Homelab Network and Watch It Live, Self-Hosted with Docker Compose
Homelable turns your homelab into a live network diagram: typed nodes, status checks, an nmap scanner and a REST API. Here is a tested, version-pinned Docker Compose setup for v3.6.0, plus the limits.
Every homelab starts as a router and a Raspberry Pi. A year later there is a switch, a NAS, a Proxmox box, a handful of VMs and more containers than you can name from memory. The network diagram, if there ever was one, is a draw.io file from two reorganisations ago.
Homelable tries to fix that. It is a self-hosted web app where you draw your lab as a live network diagram, and every box on it shows whether the device behind it is actually up. It was featured in the 16 October issue of Self-Host Weekly, the repository was created in March 2026 and already has more than 4,500 stars, and version 3.6.0 came out on 6 October. I set it up on a fresh Ubuntu 24.04 VM and kept notes on what worked and what did not.
What Homelable does
The core is a canvas. You place nodes (router, switch, access point, server, VM, LXC container, NAS, Docker container and a few dozen more types), connect them with typed links such as ethernet, wifi or virtual, and arrange them however you like. Zones, groups and text notes help you keep it readable, and you can keep several canvases in one install, for example one for the network and one for a rack.
On top of the drawing sits a status checker. Each node gets a check method, and Homelable polls it every 60 seconds by default and pushes the result to the browser over a WebSocket. The available methods are ping, http, https, tcp (a connect to host:port), ssh (port 22), prometheus (GET /metrics) and health (GET /health). The sidebar keeps a running online/offline tally.
Instead of drawing everything by hand you can let the app find things. A network scanner runs nmap against the CIDR ranges you configure and puts what it finds into a device inventory, where you approve, hide or ignore each entry. There are also importers for Proxmox VE (via a read-only API token), Zigbee2MQTT and Z-Wave JS UI (via MQTT). Finally, there is a markdown documentation space with a page per device, a rack canvas with patch cabling, exports to PNG, SVG, YAML and Markdown, and an optional MCP server so an AI client can read and edit the canvas.
The project is MIT licensed. The backend is a FastAPI app with a SQLite database, and the frontend is a React app served by nginx.
What you need
Docker with the Compose plugin and a machine on the network you want to map. The official images are published to the GitHub Container Registry for amd64 and arm64. The stack is small: on my 2 vCPU test VM with 1.8 GB of RAM, docker stats showed about 105 to 110 MiB for the backend and 4 to 5 MiB for the frontend, with a nine-node demo canvas loaded.
Install Homelable with Docker Compose
The project's own install script pulls latest images. I prefer a pinned version, so the steps below use 3.6.0, which exists as a tag for the backend and frontend images. Release tags come in the form X.Y.Z and X.Y, while latest follows the main branch.
1. Create a folder and fetch the example environment file
mkdir homelable && cd homelable
curl -fsSL https://raw.githubusercontent.com/Pouzor/homelable/v3.6.0/.env.example -o .env2. Generate a secret key and your own password hash
Out of the box the login is admin / admin, and the docs tell you to change it before the app touches a real network. The password is stored as a bcrypt hash in .env. You can make one with the backend image itself, so nothing has to be installed on the host. Replace change-me with a password of your own:
SECRET=$(openssl rand -hex 32)
HASH=$(docker run --rm -e PW='change-me' ghcr.io/pouzor/homelable-backend:3.6.0 \
python -c 'import os,bcrypt; print(bcrypt.hashpw(os.environ["PW"].encode(), bcrypt.gensalt()).decode())')
sed -i "s|^SECRET_KEY=.*|SECRET_KEY=$SECRET|" .env
sed -i "s|^AUTH_PASSWORD_HASH=.*|AUTH_PASSWORD_HASH='$HASH'|" .envKeep the single quotes around the hash. It contains $ characters, and without the quotes Docker Compose tries to interpolate them. The .env file also holds the scanner range (SCANNER_RANGES, default 192.168.1.0/24), the status interval and the optional integrations, all commented with examples. Adjust the scanner range to your own subnet now or later in the app.
3. Create docker-compose.yml
This is based on the official prebuilt Compose file, trimmed to the two services you need and pinned to 3.6.0. I left out the optional mcp service and dropped the CORS_ORIGINS override, so the value from your .env applies.
services:
backend:
image: ghcr.io/pouzor/homelable-backend:3.6.0
restart: unless-stopped
env_file:
- .env
environment:
SQLITE_PATH: /app/data/homelab.db
volumes:
- backend_data:/app/data
networks:
- homelable
cap_add:
- NET_RAW
frontend:
image: ghcr.io/pouzor/homelable-frontend:3.6.0
restart: unless-stopped
ports:
- "3000:80"
depends_on:
- backend
networks:
- homelable
volumes:
backend_data:
networks:
homelable:
driver: bridgeOnly the frontend publishes a port. It serves the UI and proxies /api to the backend, so the backend stays inside the Docker network. NET_RAW is there for ping-based status checks. If you put a reverse proxy in front, bind the port to the loopback interface instead ("127.0.0.1:3000:80"), which is what I did on the test VM, just with a different host port.
4. Start it
docker compose up -d --wait
docker compose psOn the test VM both containers reported healthy about half a minute after I ran up, including pulling the frontend image. A quick check from the host:
curl -s http://localhost:3000/api/v1/health
# {"status":"ok"}5. Log in
Open http://<your-server>:3000, sign in as admin with the password you hashed, and you land on an empty canvas. As a sanity check, I tried admin / admin against the API after changing the hash and got a 401, so the default really is gone once you replace it.

One thing worth knowing about CORS: the docs ask you to add your hostname to CORS_ORIGINS when you terminate TLS in front of Homelable. In my test the UI worked on a different port than the one in the default list without touching it, presumably because the browser only talks to the frontend container's own /api proxy. I would still set it to your real URL, for example ["https://homelable.example.com"], since it costs nothing.
Building your map
A small honesty note first: for the screenshots I filled the canvas through the REST API (more on that below), so I cannot tell you much about how the Add Node dialog feels. What I did check is how the result behaves.
My demo lab has a gateway, a core switch, an access point, a Proxmox host, a NAS and two guests under the Proxmox host, plus two Docker containers. The first seven use made-up addresses in 192.168.1.0/24, so they show up red. That is exactly what you want from a status tool. The last two point at the Homelable containers themselves: one uses a tcp check against backend:8000, the other an http check against frontend:80. Both turned green with response times of 7 and 9 ms.

Clicking a node opens a detail panel with its type, address, check method, last seen time and response time, plus editable properties and services.

A stumbling block I hit: a node I had just created showed "Unknown" in the UI until the next check cycle ran, which can take up to a minute with the default interval. Nothing is broken, it just has not been checked yet.
Scanning a network
To see the scanner work without poking at my provider's network, I pointed it at a tiny range, a /30 on the Docker bridge, through the API. The run finished in about 12 seconds and found three devices, which landed in the inventory queue. The docs describe the normal flow in the UI: Scan Network in the sidebar, then Device Inventory to approve, hide or ignore what turned up. Devices on the same bridge came back with MAC addresses in my test. For hosts on your real LAN, the project is clear that a bridged container never sees MACs, because ARP does not cross the Docker gateway. Without MACs, a device whose DHCP lease changes comes back as a new entry instead of updating the old one. The fix is network_mode: host for the backend (Linux only), which has its own caveats, such as the backend binding port 8000 directly on the host. I did not run that variant, so read the official notes before you decide.
Tips
The REST API is worth a look if you already have a source of truth. Everything the UI does goes through /api/v1, with Swagger UI at /docs. You log in with POST /api/v1/auth/login, send the token as a bearer header, and create nodes and edges with POST /api/v1/nodes and POST /api/v1/edges. If you leave out the position, the server picks a free grid slot. Creating a node with an IP or MAC that already exists on the canvas returns a 409 unless you pass "force": true.
A few other switches live in .env:
STATUS_CHECKER_INTERVALsets the polling interval in seconds. Since 3.6.0,STATUS_CHECKER_ENABLED=falseturns all status and service probes off, handy if another tool already monitors everything.HOMEPAGE_API_KEYenables a read-only stats endpoint for thecustomapiwidget of Homepage, andLIVEVIEW_KEYenables a read-only, login-free canvas at/view?key=...for a wall display. Both are off by default.- For the Proxmox import, create an API token with the read-only
PVEAuditorrole and either enter it in the dialog or setPROXMOX_TOKEN_IDandPROXMOX_TOKEN_SECRETfor auto-sync. - The optional MCP service listens on port 8001 and needs
MCP_API_KEYandMCP_SERVICE_KEY. I did not test it.
Your data lives in the backend_data volume (the SQLite file plus uploads), so that is what to back up. To update, change the image tags in the Compose file, then run docker compose pull && docker compose up -d. Releases have been frequent (3.4.2, 3.5.0, 3.5.1 and 3.6.0 all landed between 13 September and 6 October), so skim the release notes before you jump.
Limits and security
Homelable is built for a trusted LAN, and the docs say so plainly: do not expose it to the internet. Some specifics worth knowing before you decide where it runs:
- Local auth is a single username and password. There is no rate limiting on the login endpoint, and the API token is a plain bearer token that lasts 24 hours. For several users, MFA or SSO, the project offers an OpenID Connect mode. I did not test it, and the docs note that OIDC mode currently has no scripting path for the REST API.
/docs,/redocand/openapi.jsonare reachable without logging in (I got a 200 on/docsbefore authenticating). They only reveal the shape of the API, not your data, but you can block them at your reverse proxy.MCP_SERVICE_KEYauthenticates against every endpoint and does not expire. Treat it like a root credential and keep port 8001 off untrusted networks.- The backend gets the
NET_RAWcapability for pings. The host-network variant for MAC discovery removes the network isolation of the backend, so weigh that against what you gain. - The project is young and moves fast. That is good for features and fixes, and a reason to pin versions and read changelogs.
Also keep in mind what a map like this contains: addresses, hostnames and the structure of your network. That is not a secret worth losing, so the login and the LAN-only rule matter.
How it compares
Homelable sits between a drawing tool and a monitor, and each neighbour does one half better. draw.io (diagrams.net) is Apache-2.0 and gives you far more freedom for pure diagrams, but nothing in it knows whether a device is up. Uptime Kuma (MIT) is the better choice if all you want is checks, history and notifications, but it has no idea how your devices connect. NetBox (Apache-2.0) is the serious answer for documenting addresses, racks and cabling as a source of truth, with more setup effort to match. Homelable's pitch is a picture, live status and a scanner in one small stack. Its notification story is the obvious gap: I found no alerting in the docs, so for pager-style alerts you would still pair it with something like Uptime Kuma.
Verdict
For two containers and about 110 MiB of RAM you get a clear, good-looking map of your lab that tells you what is down, plus a scanner and importers that cut the manual work. The install was uneventful, the API is pleasant, and the docs are unusually honest about their limits, such as the MAC address problem on bridged networks. If you have been meaning to document your homelab and never got round to it, this is a low-effort way to start. Just keep it on your LAN, pin the version, and expect the interface to keep changing.