Files
notificationServer/ecosystem.config.js.example
AmirHossein Mahmoodi 29592d5b42 formatting
2025-04-27 09:53:32 +03:30

17 lines
400 B
Plaintext

module.exports = {
apps: [{
name: "notification_server",
script: "./dist/main.js", // cluster mode run with node only, not npm
args: "",
exec_mode: "fork", // default fork
kill_timeout: 4000,
wait_ready: true,
autorestart: true,
watch: false,
max_memory_restart: "1G",
log_date_format: "YYYY-MM-DD HH:mm Z",
env: {
NODE_ENV: "prod",
},
}],
};