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

.env.payment_gateway_service

Projets / GNDAD / PORTAIL BACKEND / .env.payment_gateway_service
← Retour
Informations
Application
GNDAD/PORTAIL BACKEND
Service
Payment_gateway
Contenu du template .env
# ============================================================================
# GLOBAL
# ============================================================================

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

# ============================================================================
# APP — Payment Gateway Service
# ============================================================================

# Nom de l'application (utilisé comme identifiant RabbitMQ, logs, etc.)
APP_NAME=payment-gateway-service
# Port d'écoute du serveur HTTP
APP_PAYMENT_GATEWAY_PORT=3200
# URL de base publique du service
APP_PAYMENT_GATEWAY_BASE_URL=http://0.0.0.0:3200
# Préfixe des routes API REST
APP_PAYMENT_GATEWAY_PREFIX=api/v1/payment
# Hôte d'écoute du serveur
APP_PAYMENT_GATEWAY_HOST=0.0.0.0
# Répertoire de stockage des fichiers de logs
APP_PAYMENT_GATEWAY_LOGS_DIRECTORY=./logs/payment-gateway-service

# ============================================================================
# DATABASE — PostgreSQL (Payment)
# ============================================================================

# Hôte du serveur PostgreSQL
PAYMENT_DB_HOST=localhost
# Port du serveur PostgreSQL
PAYMENT_DB_PORT=5432
# Utilisateur PostgreSQL
PAYMENT_DB_USER=postgres
# Mot de passe PostgreSQL
PAYMENT_DB_PASSWORD=postgres
# Nom de la base de données de paiement
PAYMENT_DB_NAME=xflow_payment_db
# Synchroniser le schéma TypeORM automatiquement (true | false) — NE PAS activer en production
PAYMENT_DB_SYNCHRONIZE=true
# Activer les logs SQL TypeORM (true | false)
PAYMENT_DB_LOGGING=true
# Activer SSL pour PostgreSQL (true | false)
PAYMENT_DB_SSL=false

# ============================================================================
# LIBS — Payment
# ============================================================================

# Clé de chiffrement pour les données sensibles de paiement (AES)
LIB_PAYMENT_ENCRYPTION_KEY=

# ============================================================================
# LIBS — Journal
# ============================================================================

# Activer le journal d'audit applicatif (true | false)
LIB_JOURNAL_ENABLED=false
# Activer le journal d'audit du moteur BPMN (true | false)
LIB_ENGINE_JOURNAL_ENABLED=false

# ============================================================================
# SOPS — Déchiffrement des credentials de paiement
# ============================================================================

# Chemin vers la clé privée age pour déchiffrer config/payment_configs.enc.yaml
# En dev : config/.keys/dev.key | En prod : /etc/xflow/age.key
SOPS_AGE_KEY_FILE=config/.keys/dev.key

# ============================================================================
# GOUV REGISTRY — Registre gouvernemental
# ============================================================================

# URL du registre gouvernemental
GOUV_REGISTRY_URL=http://localhost:8080/registry
# Clé API pour l'accès au registre
GOUV_REGISTRY_API_KEY=your-api-key
# Schéma du registre à utiliser
GOUV_REGISTRY_SCHEMA=default
Modifier le template .env