ATD Deploy
Dashboard Projets Infrastructure Déploiements Serveurs
Admin
GNDAD Deploy
Dashboard Projets & Apps Infrastructure Déploiements Serveurs
Admin ↗

.env.workflow_engine_service

Projets / GNDAD / FRONTEND SP / .env.workflow_engine_service
← Retour
Informations
Application
GNDAD/FRONTEND SP
Service
Workflow_engine
Contenu du template .env
# ============================================================================
# GLOBAL
# ============================================================================

# Environnement d'exécution (development | production | staging | test)
NODE_ENV=development

# ============================================================================
# APP — Workflow Engine Service (moteur BPMN)
# ============================================================================

# Nom de l'application (utilisé comme identifiant RabbitMQ, logs, etc.)
APP_NAME=workflow-engine-service
# Hôte d'écoute du serveur HTTP
APP_WORKFLOW_ENGINE_SERVICE_HOST=0.0.0.0
# Port d'écoute du serveur HTTP
APP_WORKFLOW_ENGINE_SERVICE_PORT=4300
# URL de base publique du service
APP_WORKFLOW_ENGINE_SERVICE_BASE_URL=http://0.0.0.0:4300
# Répertoire de stockage des fichiers de logs
APP_WORKFLOW_ENGINE_SERVICE_LOGS_DIRECTORY=logs/workflow-engine-service
# Clé API pour sécuriser les endpoints du moteur BPMN
APP_WORKFLOW_ENGINE_API_KEY=202bfa815b00

# ============================================================================
# REDIS — Cache du moteur BPMN
# ============================================================================

# Hôte du serveur Redis
APP_WORKFLOW_ENGINE_SERVICE_REDIS_HOST=localhost
# Port du serveur Redis
APP_WORKFLOW_ENGINE_SERVICE_ENGINE_REDIS_PORT=6379
# Activer Redis pour le cache du moteur (true | false)
APP_WORKFLOW_ENGINE_SERVICE_ENGINE_REDIS_ENABLED=false

# ============================================================================
# BPMN ENGINE — Configuration du moteur de workflow
# ============================================================================

# Chemin vers les définitions BPMN (fichiers .bpmn)
APP_WORKFLOW_ENGINE_SERVICE_DEFINITIONS_PATH=models-definitions/
# URL du Workflow Registry Service (pour récupérer les définitions)
APP_WORKFLOW_REGISTRY_SERVICE_BASE_URL=http://0.0.0.0:4301

# --- MongoDB spécifique au moteur BPMN ---
# URI de connexion MongoDB dédiée au moteur BPMN (instances, tokens, logs)
APP_WORKFLOW_ENGINE_SERVICE_DATABASE_URI=mongodb://localhost:27017/portail_workflow_engine_db
# Nom de la base MongoDB du moteur BPMN
APP_WORKFLOW_ENGINE_SERVICE_DATABASE_NAME=portail_workflow_engine_db

# --- DataStore du moteur BPMN ---
# Activer les save points pour permettre engine.restart() (true | false)
APP_WORKFLOW_ENGINE_SERVICE_ENABLE_SAVE_POINTS=true
# Sauvegarder les logs d'exécution dans le DataStore (true | false)
APP_WORKFLOW_ENGINE_SERVICE_SAVE_LOGS=true
# Sauvegarder le source BPMN dans le DataStore (true | false) — false réduit la taille en base
APP_WORKFLOW_ENGINE_SERVICE_SAVE_SOURCE=false
# Activer la sortie console du logger BPMN interne (true | false)
APP_WORKFLOW_ENGINE_SERVICE_LOG_TO_CONSOLE=true
Modifier le template .env