Full ecosystem for PM2
This commit is contained in:
parent
37236f8a9c
commit
f920305656
@ -1,7 +1,7 @@
|
||||
|
||||
{
|
||||
|
||||
apps: [
|
||||
"apps": [
|
||||
// First application
|
||||
{
|
||||
"name": "SilvrPipes",
|
||||
@ -15,10 +15,10 @@
|
||||
"autorestart": true,
|
||||
"restart_delay": 3500,
|
||||
"max_memory_restart": "300M",
|
||||
env_production: {
|
||||
NODE_ENV: "production"
|
||||
"env_production": {
|
||||
"NODE_ENV": "production"
|
||||
}
|
||||
}/*,
|
||||
},
|
||||
{
|
||||
"name": "Silvrtree",
|
||||
"script": "web-server.js",
|
||||
@ -31,11 +31,11 @@
|
||||
"autorestart": true,
|
||||
"restart_delay": 3500,
|
||||
"max_memory_restart": "300M",
|
||||
env_production: {
|
||||
NODE_ENV: "production"
|
||||
"env_production": {
|
||||
"NODE_ENV": "production"
|
||||
}
|
||||
},
|
||||
,
|
||||
|
||||
{
|
||||
"name": "Lot",
|
||||
"script": "lot.js",
|
||||
@ -48,8 +48,8 @@
|
||||
"autorestart": true,
|
||||
"restart_delay": 3500,
|
||||
"max_memory_restart": "300M",
|
||||
env_production: {
|
||||
NODE_ENV: "production"
|
||||
"env_production": {
|
||||
"NODE_ENV": "production"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -64,8 +64,8 @@
|
||||
"autorestart": true,
|
||||
"restart_delay": 3500,
|
||||
"max_memory_restart": "300M",
|
||||
env_production: {
|
||||
NODE_ENV: "production"
|
||||
"env_production": {
|
||||
"NODE_ENV": "production"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -80,8 +80,8 @@
|
||||
"autorestart": true,
|
||||
"restart_delay": 3500,
|
||||
"max_memory_restart": "300M",
|
||||
env_production: {
|
||||
NODE_ENV: "production"
|
||||
"env_production": {
|
||||
"NODE_ENV": "production"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -96,8 +96,8 @@
|
||||
"autorestart": true,
|
||||
"restart_delay": 3500,
|
||||
"max_memory_restart": "300M",
|
||||
env_production: {
|
||||
NODE_ENV: "production"
|
||||
"env_production": {
|
||||
"NODE_ENV": "production"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -112,8 +112,8 @@
|
||||
"autorestart": true,
|
||||
"restart_delay": 3500,
|
||||
"max_memory_restart": "300M",
|
||||
env_production: {
|
||||
NODE_ENV: "production"
|
||||
"env_production": {
|
||||
"NODE_ENV": "production"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -128,12 +128,9 @@
|
||||
"autorestart": true,
|
||||
"restart_delay": 3500,
|
||||
"max_memory_restart": "300M",
|
||||
env: {
|
||||
COMMON_VARIABLE: "true"
|
||||
},
|
||||
env_production: {
|
||||
NODE_ENV: "production"
|
||||
"env_production": {
|
||||
"NODE_ENV": "production"
|
||||
}
|
||||
}*/
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user