Headroom: homelab capacity dashboard

- FastAPI app med 7 bundled module-typer (proxmox, esxi, truenas, splunk, linux, windows, http-json)
- Multi-instance support: flere instanser af samme modultype med adskilte assets
- Community/Enterprise licensing med admin enterprise-toggle
- Capacity forecasting, trends, what-if simulator, alert policies
- MCP server + LLM copilot integration
- Dockerfile + rune.yaml til Yggdrasil
This commit is contained in:
kristianwind
2026-10-23 22:39:27 +02:00
commit 15bbe02277
49 changed files with 9984 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")"
if [ ! -d .venv ]; then
echo "Creating virtual environment..."
python3 -m venv .venv
fi
./.venv/bin/pip install --disable-pip-version-check -q -r requirements.txt
PORT="${HEADROOM_PORT:-8787}"
echo ""
echo " Headroom is starting on http://127.0.0.1:${PORT}"
echo " Login: admin / admin (change it in Settings)"
echo ""
exec ./.venv/bin/python -m uvicorn app.main:app --host "${HEADROOM_HOST:-127.0.0.1}" --port "$PORT" "$@"