feat: Ajout configuration Docker complète pour v2

 Fichiers Docker ajoutés:
- backend/Dockerfile: Image Python 3.11 avec uv et FastAPI
- frontend/Dockerfile: Build multi-stage avec Nginx
- docker-compose.yml: Orchestration complète des services
- frontend/nginx.conf: Configuration Nginx avec proxy API

📝 Documentation:
- DOCKER.md: Guide complet de déploiement Docker (monitoring, backup, prod)
- README.md: Section Docker ajoutée
- .env.docker: Template mis à jour pour v2

🔧 Configuration:
- .dockerignore pour backend et frontend
- Volume data/ pour la base de données
- Healthchecks pour les deux services
- Réseau bridge dédié

🚀 Démarrage simplifié:
  cp .env.docker .env
  docker-compose up -d

Accès: http://localhost (frontend) + http://localhost:8000 (API)
This commit is contained in:
2025-11-25 21:22:41 +01:00
parent 1f17b1e982
commit 634b6958bb
10 changed files with 683 additions and 12 deletions

View File

@@ -39,6 +39,21 @@ npm run dev
- **Documentation API** : http://localhost:8000/api/v2/docs
- **ReDoc** : http://localhost:8000/api/v2/redoc
### **Déploiement avec Docker** 🐳
```bash
# Configuration
cp .env.docker .env
# Éditez .env et changez SECRET_KEY
# Démarrage
docker-compose up -d
# Accès: http://localhost
```
📖 **Documentation complète** : [`DOCKER.md`](DOCKER.md)
---
## 🏗️ **Architecture Technique**