module.exports = {
  apps: [
    {
      name: "PRODUZIONE - FREEPLANET",
      script: "/var/www/www.freeplanet_server/src/server.js",
      ignore_watch: ["node_modules", "logs"],
      // interpreter: "/root/.nvm/versions/node/v16.19.0/bin/node",
      //autorestart: true,
      instances: 1,
      watch: false,
      env: {
        "NODE_ENV": "production"
      },
      log_file: "logs/combined.outerr.log",
      error_file: "logs/error.log",
      out_file: "logs/out.log",
      merge_logs: true,
      log_date_format: "YYYY-MM-DD HH:mm:ss.SSSS Z"
    }
  ]
};