33800 Docs

← Retour

Proposition : Déploiement d'un service unique

Date : 08-12-2024 Statut : En attente de validation


Objectif

Permettre de déployer un seul service d'un projet multi-services.


Syntaxe proposée

mets en prod hellocar:api
mets en dev hellocar:admin
mets en prod hellocar:public

Ou version complète :

mets en prod hellocar --service=api

Comportement

Commande Action
mets en prod hellocar Déploie TOUS les services (api, admin, public)
mets en prod hellocar:api Déploie UNIQUEMENT hellocar-api
mets en prod hellocar:api,admin Déploie api ET admin

Mapping service → name dans le YAML

Le suffixe après : correspond au path ou au dernier segment du name :

services:
  - name: "hellocar-api"      # → :api
    path: "apps/api"

  - name: "hellocar-admin"    # → :admin
    path: "apps/admin"

Validation


Statut : ✅ Validé