All files / services/job-manager-service/src/config index.js

100% Statements 22/22
16.66% Branches 1/6
100% Functions 0/0
100% Lines 22/22

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 221x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x
require('dotenv').config();
 
const config = {
  // API
  port: process.env.PORT || 8000,
  
  // Temporal (client uniquement — plus de worker/activités côté job-manager)
  temporalAddress: process.env.TEMPORAL_ADDRESS || 'temporal:7233',
  
  // MongoDB
  mongodbUri: process.env.MONGODB_URI || 'mongodb://mongodb:27017/nooloom',
  
  // MinIO
  minioUrl: process.env.MINIO_URL || 'http://minio:9000',
  minioPublicUrl: process.env.MINIO_PUBLIC_URL || 'http://localhost:9090',
  minioBucket: 'workflow',
  
  // Logging
  logLevel: process.env.LOG_LEVEL || 'info',
};
 
module.exports = config;