ecosystem.config.js 510 B

12345678910111213141516171819202122232425262728
  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. max_memory_restart: "1G",
  11. env: {
  12. NODE_ENV: "development",
  13. },
  14. },
  15. {
  16. name: "hipo-web3-prod",
  17. script: "yarn",
  18. args: "start",
  19. instances: 1,
  20. autorestart: true,
  21. watch: false,
  22. max_memory_restart: "1G",
  23. env: {
  24. NODE_ENV: "producation",
  25. },
  26. },
  27. ],
  28. };