1st push
This commit is contained in:
parent
501d8a8d8e
commit
3226975910
76 changed files with 48623 additions and 3401 deletions
17
pm2.config.js
Normal file
17
pm2.config.js
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
module.exports = {
|
||||
apps: [
|
||||
{
|
||||
name: "nextjs-app",
|
||||
script: "npm",
|
||||
args: "start",
|
||||
instances: "max", // or specify the number of instances you want
|
||||
autorestart: true,
|
||||
watch: false,
|
||||
max_memory_restart: "1G",
|
||||
env: {
|
||||
NODE_ENV: "production",
|
||||
},
|
||||
},
|
||||
// You can add more apps as needed for other services you want to manage with PM2
|
||||
],
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue