- Completed Action 1.1.2.1: Installed @openapitools/openapi-generator-cli - Completed Action 1.1.2.2: Created generate-types.sh script - Added swagger annotations to cmd/modern-server/main.go - Regenerated swagger.yaml with proper info section - Successfully generated TypeScript types to src/types/generated/ The script generates types from veza-backend-api/openapi.yaml using typescript-axios generator and creates barrel exports.
825 B
825 B
Incus/LXD Deployment Configuration
Ce dossier contient les configurations pour déployer Veza avec Incus (LXD).
Prérequis
# Installer Incus
sudo snap install incus
# Initialiser Incus (première fois)
sudo incus admin init
Déploiement
Utiliser le Makefile :
# 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 Goveza-chat-server: Serveur Chat Rustveza-stream-server: Serveur Stream Rustveza-web: Frontend Reactveza-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