Market Data Service is a high-performance financial data API that provides comprehensive Symbol prices of different markets through both RESTful endpoints and real-time WebSocket connections.

ecosystem.config.js 397B

1234567891011121314151617181920
  1. module.exports = {
  2. apps: [{
  3. name: 'market-data-api',
  4. script: 'src/server.js',
  5. instances: 'max',
  6. exec_mode: 'cluster',
  7. env: {
  8. NODE_ENV: 'production',
  9. PORT: 3001
  10. },
  11. error_file: './logs/err.log',
  12. out_file: './logs/out.log',
  13. log_file: './logs/combined.log',
  14. time: true,
  15. merge_logs: true,
  16. watch: false,
  17. max_memory_restart: '1G'
  18. }]
  19. };