Ajout version LXC et restructuration complète du projet

🚀 NOUVELLES FONCTIONNALITÉS :
- Version LXC complète pour Proxmox avec installation automatisée
- Script d'installation LXC avec interface colorée et vérifications
- Service systemd avec configuration sécurisée
- Script de désinstallation avec sauvegarde de config

📁 RESTRUCTURATION :
- Séparation Docker/LXC dans des dossiers dédiés
- Documentation spécialisée pour chaque version
- Guide d'installation unifié (INSTALL.md)
- README principal avec comparaison des versions

🐳 AMÉLIORATIONS DOCKER :
- docker-compose.yml optimisé avec healthcheck
- Documentation Docker détaillée
- Configuration par variables d'environnement clarifiée

📦 FONCTIONNALITÉS LXC :
- Installation en une commande
- Intégration systemd native
- Gestion des permissions et sécurité
- Logs intégrés avec journalctl
- Configuration via fichier d'environnement

🔧 OUTILS INCLUS :
- Scripts d'installation/désinstallation
- Healthchecks pour les deux versions
- Documentation de dépannage
- Comparatif des deux approches

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-08-31 11:00:00 +02:00
parent 3a96167120
commit ced296a296
15 changed files with 1410 additions and 26 deletions

View File

@@ -10,46 +10,81 @@ Fork de : https://github.com/tigerblue77/Dell_iDRAC_fan_controller_Docker.git
- Configuration de 4 seuils de température avec vitesses correspondantes
- Gestion progressive de la vitesse des ventilateurs selon la température du CPU
## 🚀 Deux versions disponibles
| **Version Docker** | **Version LXC Proxmox** |
|-------------------|------------------------|
| 🐳 Container Docker classique | 📦 Container LXC natif |
| Images versionnées | Installation directe |
| `docker-compose` | `systemctl` |
| Isolation forte | Performance native |
| → [Documentation Docker](docker/) | → [Documentation LXC](lxc/) |
<!-- TABLE OF CONTENTS -->
<details>
<summary>Table of Contents</summary>
<summary>Table des matières</summary>
<ol>
<li><a href="#container-console-log-example">Container console log example</a></li>
<li><a href="#supported-architectures">Supported architectures</a></li>
<li><a href="#usage">Usage</a></li>
<li><a href="#parameters">Parameters</a></li>
<li><a href="#troubleshooting">Troubleshooting</a></li>
<li><a href="#contributing">Contributing</a></li>
<li><a href="#-deux-versions-disponibles">🚀 Deux versions disponibles</a></li>
<li><a href="#prérequis">Prérequis</a></li>
<li><a href="#installation-rapide">Installation rapide</a></li>
<li><a href="#paramètres">Paramètres</a></li>
<li><a href="#dépannage">Dépannage</a></li>
<li><a href="#container-console-log-example">Exemple de logs</a></li>
</ol>
</details>
## Installation rapide
### 🐳 Version Docker
```bash
# Télécharger la configuration
wget https://raw.githubusercontent.com/votre-repo/main/docker/docker-compose.yml
# Modifier la configuration selon vos besoins
nano docker-compose.yml
# Lancer le container
docker-compose up -d
```
### 📦 Version LXC (Proxmox)
```bash
# Dans le container LXC Ubuntu
wget -O - https://github.com/votre-repo/archive/main.tar.gz | tar -xz
cd Dell_iDRAC_fan_controller-main/lxc
chmod +x install-lxc.sh
./install-lxc.sh
```
<p align="right">(<a href="#top">back to top</a>)</p>
## Prérequis
### Serveur Dell
- Dell PowerEdge avec iDRAC
- Support des commandes IPMI
- iDRAC 9 firmware < 3.30.30.30 (pour IPMI)
### Environnement
- **Docker** : Docker + Docker Compose
- **LXC** : Proxmox avec container privilégié
<p align="right">(<a href="#top">back to top</a>)</p>
## Container console log example
![image](https://user-images.githubusercontent.com/37409593/216442212-d2ad7ff7-0d6f-443f-b8ac-c67b5f613b83.png)
<p align="right">(<a href="#top">back to top</a>)</p>
<!-- PREREQUISITES -->
## Prerequisites
### iDRAC version
<!-- USAGE DÉTAILLÉ -->
## Configuration détaillée
This Docker container only works on Dell PowerEdge servers that support IPMI commands, i.e. < iDRAC 9 firmware 3.30.30.30.
### 🐳 Version Docker
<p align="right">(<a href="#top">back to top</a>)</p>
<!-- SUPPORTED ARCHITECTURES -->
## Supported architectures
This Docker container is currently built and available for the following CPU architectures :
- AMD64
- ARM64
<p align="right">(<a href="#top">back to top</a>)</p>
<!-- USAGE -->
## Usage
1. with local iDRAC:
**1. Utilisation avec iDRAC local :**
```bash
docker run -d \