代码提交
This commit is contained in:
Vendored
+19
@@ -0,0 +1,19 @@
|
||||
/** PM2:必须 node start.mjs,禁止 next start */
|
||||
module.exports = {
|
||||
apps: [
|
||||
{
|
||||
name: "hddj_h5",
|
||||
cwd: __dirname,
|
||||
script: "start.mjs",
|
||||
interpreter: "node",
|
||||
instances: 1,
|
||||
exec_mode: "fork",
|
||||
env: {
|
||||
NODE_ENV: "production",
|
||||
APP_ENV: "production",
|
||||
HOSTNAME: "0.0.0.0",
|
||||
PORT: "21035",
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user