@@ -0,0 +1,20 @@
+module.exports = {
+ apps: [
+ {
+ name: "novel",
+ script: "next dev",
+ instances: "max",
+ env: {
+ NODE_ENV: "production",
+ NODE_PORT: 3001,
+ PORT: 3001,
+ },
+ watch: false,
+ merge_logs: true,
+ exec_mode: "cluster",
+ max_memory_restart: "3G",
+ instance_var: "NODE_APP_INSTANCE",
+ restart_delay: 1000,
+ ],
+};