Files
web_hgdja_h5/dist/production/ecosystem.config.cjs
T
2026-11-07 22:32:00 +08:00

20 lines
386 B
JavaScript

/** 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",
},
},
],
};