fix: replace jsonc with jsonc-parser and cleanup build config
This commit is contained in:
1 parent
0bd2ac6707
commit
e867b675fc
12 files changed
+195
-216
No files matched your search
+10
-14
@@ -1,21 +1,17 @@
|
||||
module.exports = {
|
||||
apps: [
|
||||
{
|
||||
name: "next",
|
||||
script: ".next/standalone/server.js",
|
||||
name: "epicnextcms",
|
||||
script: "node_modules/next/dist/bin/next",
|
||||
args: "start",
|
||||
instances: "max",
|
||||
exec_mode: "cluster",
|
||||
instances: 0,
|
||||
max_memory_restart: "512M",
|
||||
node_args: "--v8-pool-size=4",
|
||||
max_memory_restart: "1G",
|
||||
env: {
|
||||
NODE_ENV: "production",
|
||||
PORT: 3002,
|
||||
RCON_PORT: 3003,
|
||||
NEXT_PHASE: "phase-production-server",
|
||||
},
|
||||
merge_logs: true,
|
||||
error_file: ".pm2/errors.log",
|
||||
out_file: ".pm2/out.log",
|
||||
log_date_format: "YYYY-MM-DD HH:mm:ss",
|
||||
},
|
||||
],
|
||||
PORT: 3000
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
Reference in new issue
Block a user