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:
@@ -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" "$@"
|
||||
Reference in New Issue
Block a user