ecosystem.config.js 750 B

12345678910111213141516171819202122232425262728293031323334
  1. module.exports = {
  2. apps: [
  3. {
  4. name: "hipo-web3-dev",
  5. script: "yarn",
  6. args: "dev",
  7. instances: 1,
  8. autorestart: true,
  9. watch: false,
  10. log_date_format: "YYYY-MM-DD HH:mm:ss Z",
  11. error_file: "./logs/error.log",
  12. out_file: "./logs/out.log",
  13. max_memory_restart: "1G",
  14. env: {
  15. NODE_ENV: "development",
  16. },
  17. },
  18. {
  19. name: "hipo-web3-prod",
  20. script: "yarn",
  21. args: "start",
  22. instances: 1,
  23. autorestart: true,
  24. watch: false,
  25. log_date_format: "YYYY-MM-DD HH:mm:ss Z",
  26. error_file: "./logs/error.log",
  27. out_file: "./logs/out.log",
  28. max_memory_restart: "1G",
  29. env: {
  30. NODE_ENV: "producation",
  31. },
  32. },
  33. ],
  34. };