28 lines
747 B
Markdown
28 lines
747 B
Markdown
# Homelab Dashboard
|
|
|
|
Dashboard web temps réel affichant l'état des LXC Proxmox et des conteneurs Docker (via Portainer).
|
|
|
|
## Prérequis
|
|
|
|
- Node.js 18+
|
|
- Variables d'environnement :
|
|
- `PVE_TOKEN` — Token API Proxmox (format `root@pam!openclaw=<uuid>`)
|
|
- `PORTAINER_API_KEY` — Clé API Portainer
|
|
|
|
## Lancement
|
|
|
|
```bash
|
|
cd /home/node/.openclaw/workspace/projets/homelab-dashboard
|
|
node server.js
|
|
```
|
|
|
|
Le dashboard est accessible sur `http://localhost:3900`.
|
|
|
|
## Fonctionnalités
|
|
|
|
- Affichage des LXC Proxmox avec CPU% et RAM% en temps réel
|
|
- Affichage des conteneurs Docker avec image, état et stack
|
|
- Polling automatique toutes les 10 secondes
|
|
- Gestion d'erreurs (affiche "injoignable" si un service est down)
|
|
- Design sombre responsive
|