module.exports = {
  apps: [
    {
      name: "PCB-PROD",
      script: "/var/www/nodejs_piuchebuono_server/src/server.js",
      ignore_watch: ["node_modules", "logs"],
      // interpreter: "/root/.nvm/versions/node/v22.13.1/bin/node",
            //autorestart: true,
      instances: 1,
      watch: false,
      env: {
        "NODE_ENV": "production"
      },
      log_file: "logs/combined.test.outerr.log",
      error_file: "logs/errtest.log",
      out_file: "logs/outtest.log",
      merge_logs: true,
      log_date_format: "YYYY-MM-DD HH:mm:ss.SSSS Z"
    }
  ]
};