Files
kristianwind 15bbe02277 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
2026-10-23 22:39:27 +02:00

17 lines
492 B
Bash

#!/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" "$@"