库房摄像头直播后台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
715 B

2 years ago
  1. module.exports = {
  2. apps: [
  3. {
  4. name: 'rtsp-stream-server', // app名称
  5. script: './bin/www', // 要运行的脚本的路径。
  6. args: '', // 由传递给脚本的参数组成的字符串或字符串数​​组。
  7. output: './log/out.log',
  8. error: './log/error.log',
  9. log: './log/combined.outerr.log',
  10. // merge_logs: true, // 集群的所有实例的日志文件合并
  11. log_date_format: "YYYY-MM-DD HH:mm Z",
  12. instances: 1, // 进程数 1、数字 2、'max'根据cpu内核数
  13. max_memory_restart: '1G', // 当内存超过1024M时自动重启
  14. watching: true,
  15. env_dev: {
  16. "PORT": 3000,
  17. "NODE_ENV": "development"
  18. }
  19. }
  20. ],
  21. }