Repository navigation
Homelable: new service - #448
Merged
Merged
Conversation
Add Homelable, a canvas for mapping and documenting a homelab with network scans and live status checks, with a Tailscale sidecar. The backend (application) and the nginx front end share the network of the sidecar, so nginx reaches the API on 127.0.0.1:8000. CORS_ORIGINS is built from SERVICE and TAILNET_NAME, because the backend accepts the live status WebSocket only from a listed origin. SECRET_KEY and AUTH_PASSWORD_HASH are required, instead of the upstream admin/admin default. The optional MCP server is left out.
crypt0rr
approved these changes
Nov 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds Homelable, a canvas for mapping and documenting a homelab, with network scans and live status checks of each device. The stack is adapted from the upstream
docker-compose.prebuilt.ymland installation guide.application(app-homelable) runs the backend (ghcr.io/pouzor/homelable-backend): API, nmap scanner, and status checks.frontend(app-homelable-frontend) runs the nginx front end (ghcr.io/pouzor/homelable-frontend). Both usenetwork_mode: service:tailscale, soBACKEND_UPSTREAM=127.0.0.1:8000points nginx at the backend over loopback. Serve forwards to127.0.0.1:80.CORS_ORIGINSfromSERVICEandTAILNET_NAME. The backend accepts the live status WebSocket only from an origin inCORS_ORIGINS(origin_is_allowedinbackend/app/core/security.py), so the stack buildshttps://<SERVICE>.<TAILNET_NAME>.ts.net, as Outline does.SECRET_KEYhas no default upstream (the backend does not start without it).AUTH_PASSWORD_HASHis required too: with an empty hash every login fails, and the stack does not ship the upstreamadmin/adminhash. The README and.envgive adocker runcommand that asks for the password withgetpassand prints the bcrypt hash, and say to single-quote it.NET_RAWon the backend for the ping checks, as upstream.curlcheck of/api/v1/health. The frontend useswget --spideron/.environmentinstead ofenv_file, no default password, and the left-out MCP server. Configuration covers release tags, LAN access with aCORS_ORIGINSoverride, and the integrations.Related Issues
Verification
docker compose config --quietfromservices/homelable, with dummy values for required variables (exit 0, no "variable is not set" warnings). Without values, Compose stops withSet SECRET_KEY in .envandSet TAILNET_NAME in .env.check-service-list.shandcheck-sidecar.shpass.docker exec(exit 0). Serve was tested from inside the namespace withcurl --resolve <name>.<tailnet>.ts.net:443:<tailscale-ip>, with a valid certificate (ssl_verify_result=0)./, the JS and CSS bundles, an SPA route,/api/v1/health, and/openapi.jsonreturned 200. nginx renderedproxy_pass http://127.0.0.1:8000.docker run ... getpasscommand produced, single-quoted in.env. A wrong password got 401, and requests without a token got 401.127.0.0.1. The status checker marked it online, soNET_RAWworks.127.0.0.1/32, so no real network was scanned. nmap found nginx on 80 and Uvicorn on 8000.docker compose up -d --force-recreateanddocker compose restart, and the device kept its name.TZtakes effect in both containers.rumdl check --config .markdownlint.yml .(0.3.0, as pinned) on the whole repository, andgit diff --check origin/main: both clean.Not verified:
127.0.0.1:<port>:80) and theCORS_ORIGINSoverride from the README, not with0.0.0.0:80. With the override, the page, the login, and the WebSocket worked over that port. An origin missing from the list was closed with 1008.Impact on existing users
Checklist
Additional Context
tailscaleortailscaled.homelable-mcpfor AI clients. It is optional and needsMCP_API_KEYandMCP_SERVICE_KEY, so the stack leaves it out and links to the upstream docs.latestis what upstream's Compose files use. Per the installation guide, it followsmain, andX.Y/X.Y.Ztags are releases. The README says how to stay on releases. The frontend image is written incompose.yaml, with a comment to keep its tag the same asIMAGE_URL.compose.yamlalready has thex-arcaneicon block (the selfh.st PNG returns 200). All services: publish as an Arcane template registry, with icons #445 is merged. This branch now includes main, andarcane-registry.jsonis rebuilt with this stack (name, description,monitoringtag, icon). If All services: use the names of the makers, with folders and SERVICE after them #446 merges first, rebuild it again, because All services: use the names of the makers, with folders and SERVICE after them #446 renames stacks in the registry.SERVICE, the README title, and the bold name follow the naming rule. The All services: use the names of the makers, with folders and SERVICE after them #446check-service-list.shreports nothing for this stack.