✨ 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)
88 lines
931 B
Plaintext
88 lines
931 B
Plaintext
# Python
|
|
__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
*.so
|
|
.Python
|
|
build/
|
|
develop-eggs/
|
|
dist/
|
|
downloads/
|
|
eggs/
|
|
.eggs/
|
|
lib/
|
|
lib64/
|
|
parts/
|
|
sdist/
|
|
var/
|
|
wheels/
|
|
*.egg-info/
|
|
.installed.cfg
|
|
*.egg
|
|
|
|
# Virtual environments
|
|
.venv/
|
|
env/
|
|
venv/
|
|
ENV/
|
|
env.bak/
|
|
venv.bak/
|
|
|
|
# Database
|
|
*.db
|
|
*.sqlite3
|
|
school_management.db
|
|
|
|
# IDE
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# UV
|
|
.uv/
|
|
|
|
# Backend FastAPI
|
|
backend/__pycache__/
|
|
backend/.pytest_cache/
|
|
backend/api/__pycache__/
|
|
backend/infrastructure/__pycache__/
|
|
backend/domain/__pycache__/
|
|
backend/schemas/__pycache__/
|
|
backend/core/__pycache__/
|
|
backend/*.pyc
|
|
backend/.env
|
|
backend/.coverage
|
|
backend/htmlcov/
|
|
|
|
# Frontend Vue.js
|
|
frontend/node_modules/
|
|
frontend/dist/
|
|
frontend/.env.local
|
|
frontend/.env.*.local
|
|
frontend/.vite/
|
|
|
|
# Environment variables
|
|
.env
|
|
.env.local
|
|
|
|
# Logs
|
|
*.log
|
|
logs/
|
|
|
|
# Tests
|
|
.pytest_cache/
|
|
.coverage
|
|
htmlcov/
|
|
|
|
# Docker data
|
|
data/
|
|
!data/.gitkeep
|
|
|
|
# Flask legacy
|
|
instance/
|
|
.webassets-cache |