fix: use dedicated PM2 process name karate_halloween on port 34822

This commit is contained in:
Ajasra committed 2026-10-28 10:24:07 +08:00
1 parent 1b3562f03c
commit fc5d96e72c
3 files changed
+22 -21

No files matched your search

+4 -3
View File
@@ -1,9 +1,9 @@
module.exports = {
apps: [
{
name: "photobooth_web_v1",
name: "karate_halloween",
script: "node_modules/next/dist/bin/next",
args: "start -p 34821",
args: "start -p 34822 -H 127.0.0.1",
cwd: __dirname,
instances: 1,
autorestart: true,
@@ -12,7 +12,8 @@ module.exports = {
interpreter: "node",
env: {
NODE_ENV: "production",
PORT: 34821,
PORT: 34822,
HOSTNAME: "127.0.0.1",
},
},
],