added:增加Linux-server
This commit is contained in:
1 parent
712116d21d
commit
bd96aadb2f
90 files changed
+16784
-1
No files matched your search
@@ -0,0 +1,28 @@
|
||||
module.exports = {
|
||||
apps: [
|
||||
{
|
||||
name: "write-server",
|
||||
script: "node_modules/.bin/next",
|
||||
args: "start",
|
||||
cwd: "./",
|
||||
instances: 1,
|
||||
exec_mode: "fork",
|
||||
autorestart: true,
|
||||
watch: false,
|
||||
max_memory_restart: "1G",
|
||||
env: {
|
||||
NODE_ENV: "production",
|
||||
PORT: 8016,
|
||||
},
|
||||
env_production: {
|
||||
NODE_ENV: "production",
|
||||
PORT: 8016,
|
||||
},
|
||||
error_file: "./logs/pm2-error.log",
|
||||
out_file: "./logs/pm2-out.log",
|
||||
log_date_format: "YYYY-MM-DD HH:mm:ss Z",
|
||||
merge_logs: true,
|
||||
log_type: "json",
|
||||
},
|
||||
],
|
||||
};
|
||||
Reference in new issue
Block a user