59 lines
1.5 KiB
JSON
59 lines
1.5 KiB
JSON
{
|
|
"apps": [
|
|
{
|
|
"name": "chain-client",
|
|
"script": "./dist/api.js",
|
|
"cwd": "/root/code/web_chain_client",
|
|
"max_memory_restart": "1024M",
|
|
"log_date_format": "YYYY-MM-DD HH:mm Z",
|
|
"watch": false,
|
|
"ignore_watch": ["node_modules", "logs", "fixtures", "tasks"],
|
|
"instances": 1,
|
|
"exec_mode": "fork",
|
|
"env": {
|
|
"NODE_ENV": "production",
|
|
"NODE_PATH": "./dist"
|
|
},
|
|
"env_production": {
|
|
"NODE_ENV": "production"
|
|
}
|
|
},
|
|
{
|
|
"name": "chain-scriptions",
|
|
"script": "./dist/scriptions.js",
|
|
"cwd": "/root/code/web_chain_client",
|
|
"max_memory_restart": "1024M",
|
|
"log_date_format": "YYYY-MM-DD HH:mm Z",
|
|
"watch": false,
|
|
"ignore_watch": ["node_modules", "logs", "fixtures", "tasks"],
|
|
"instances": 1,
|
|
"exec_mode": "fork",
|
|
"env": {
|
|
"NODE_ENV": "production",
|
|
"NODE_PATH": "./dist"
|
|
},
|
|
"env_production": {
|
|
"NODE_ENV": "production"
|
|
}
|
|
},
|
|
{
|
|
"name": "chain-events",
|
|
"script": "./dist/events.js",
|
|
"cwd": "/root/code/web_chain_client",
|
|
"max_memory_restart": "1024M",
|
|
"log_date_format": "YYYY-MM-DD HH:mm Z",
|
|
"watch": false,
|
|
"ignore_watch": ["node_modules", "logs", "fixtures", "tasks"],
|
|
"instances": 1,
|
|
"exec_mode": "fork",
|
|
"env": {
|
|
"NODE_ENV": "production",
|
|
"NODE_PATH": "./dist"
|
|
},
|
|
"env_production": {
|
|
"NODE_ENV": "production"
|
|
}
|
|
}
|
|
]
|
|
}
|