Déploiement — Workflows par Projet

Comment chaque projet est déployé en production.

# Déploiement ## Par Projet ### Kontia (Cloudflare Workers) | Étape | Commande / Action | |-------|-------------------| | Build | `pnpm build` dans `/root/workspace/kontia/` | | Deploy | Wrangler ou Cloudflare API direct | | DNS | Cloudflare (token : `/root/.secrets/cf-api-token.txt`) | | DB | D1 migrations via Wrangler | ⚠️ Wrangler **NON authentifié** sur le VPS — déployer depuis machine avec auth ou configurer token. ### Nexio OS (Cloudflare Pages/Workers) | Étape | Action | |-------|--------| | Build | `pnpm build` dans `/root/workspace/nexio-os/` | | Deploy | Cloudflare (Pages pour frontend, Workers pour backend) | | Config | `.wrangler/` directory présent | | Domaine | `nexio.work` via Cloudflare | ### Nexio App (Next.js → app.nexio.work) | Étape | Action | |-------|--------| | Build | `pnpm next build` dans `/root/workspace/nexio-app/` | | Hosting | [TO VERIFY — Vercel ? Docker ? Node.js direct ?] | | URL | `app.nexio.work` | | Status | ~95% complet, `.next/` build existe | ### Mochogo (Coolify) | Étape | Action | |-------|--------| | Deploy | Push → Coolify CI/CD auto-deploy | | Coolify | `deploy.mochogo.com` | | Serveur | 141.94.94.205 (`ssh mochogo`) | | Status | ✅ CI configuré et fonctionnel | ### Sites Nginx (Static/Proxy) | Site | Méthode | |------|---------| | `dev.madacup.online` | Build local → assets copiés → nginx reload | | `family.fenohery.space` | SvelteKit build → `frontend/dist/` → nginx static | | `memory.fenohery.space` | App Node (:3113) → nginx proxy | | `env.nexio.work` | Infisical Docker (:8089) → nginx proxy + basic auth | ### JPM Website (o2switch) | Étape | Action | |-------|--------| | Deploy | SSH `jpm-o2switch` → upload fichiers | | Hébergement | o2switch mutualisé (cedrat.o2switch.net) | | SSL | ACME auto-renouvellement (cron 11h21) | # Citations [1] Vérifié depuis structure projets, nginx configs, `ls /root/workspace/*/` (2026-06-14).