veza/config/incus/README.md

41 lines
825 B
Markdown
Raw Normal View History

# Incus/LXD Deployment Configuration
Ce dossier contient les configurations pour déployer Veza avec Incus (LXD).
## Prérequis
```bash
# Installer Incus
sudo snap install incus
# Initialiser Incus (première fois)
sudo incus admin init
```
## Déploiement
Utiliser le Makefile :
```bash
# Déployer tout avec Incus
make deploy-incus
# Déployer un service spécifique
make incus-deploy-service SERVICE=backend-api
```
## Architecture
Chaque service est déployé dans un container Incus séparé :
- `veza-backend-api` : Backend Go
- `veza-chat-server` : Serveur Chat Rust
- `veza-stream-server` : Serveur Stream Rust
- `veza-web` : Frontend React
- `veza-haproxy` : Reverse Proxy
## Réseau
Le réseau `veza-network` est créé automatiquement avec :
- Subnet: 10.10.10.0/24
- NAT activé pour l'accès externe