# Installation SentinelMesh ## Prérequis - Docker + Docker Compose (recommandé) - ou Rust >= 1.82 pour une compilation locale ## Docker Compose (recommandé) ```bash git clone https://git.maison43gil.com/gilles/SentinelMesh.git cd SentinelMesh docker compose up -d ``` Le backend est accessible sur `http://localhost:8080`. ## Compilation locale ```bash # Backend cd backend && cargo build --release # Agent découverte réseau cd agents/agent-scan-network && cargo build --release # Agent métriques cd agents/agent-metric && cargo build --release ``` ## Installation des agents (Phase 5) ```bash curl -fsSL http:///install.sh | bash \ --server http:// \ --token \ --agent-type scan-network curl -fsSL http:///install.sh | bash \ --server http:// \ --token \ --agent-type metric ``` ## Intégration Glance Ajouter dans `glance.yml` : ```yaml - type: custom-api title: SentinelMesh — Réseau cache: 30s url: http://:8080/api/v1/widgets/network - type: custom-api title: SentinelMesh — Métriques cache: 1s url: http://:8080/api/v1/widgets/metrics ```