ecosystem.config.js 274 B

1234567891011121314151617
  1. 'use strict';
  2. const app = 'vpnserve';
  3. module.exports = {
  4. apps: [{
  5. name: app,
  6. script: './server.js',
  7. out: `./logs/${app}.log`,
  8. error: `./logs/${app}.err`,
  9. watch: [
  10. 'app', 'config',
  11. ],
  12. env: {
  13. NODE_ENV: 'production',
  14. },
  15. }],
  16. };