module.exports = {
  apps: [
    {
      name: "music-admin-webhook",
      script: "webhook-server.js",
      cwd: "/var/www/music/music-admin",
      instances: 1,
      autorestart: true,
      watch: false,
      max_memory_restart: "100M",
      env: {
        NODE_ENV: "production",
      },
      error_file: "/var/log/music-admin-webhook-error.log",
      out_file: "/var/log/music-admin-webhook-out.log",
      log_file: "/var/log/music-admin-webhook.log",
      time: true,
    },
  ],
};
