Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
77 lines (59 loc) · 2 KB

File metadata and controls

77 lines (59 loc) · 2 KB
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"apps": [
{
// name your app will have in PM2
"name": "open311",
// path of your app
"script": "server.js",
// arguments given to your app when it is launched
"args": [],
// arguments given to node when it is launched
"node_args": [],
//run in cluster mode
//see http://pm2.keymetrics.io/docs/usage/cluster-mode/
"exec_mode": "cluster", //fork
//run as many instances as number of cpus
"instances": "max", //2
// fix multiple instance environment config sharing
// see https://github.com/lorenwest/node-config/issues/244
// see http://pm2.keymetrics.io/docs/usage/environment/#specific-environment-variables
"instance_var": "INSTANCE_ID",
//enables the watch feature, defaults to "false".
//if true, it will restart your app everytime a file change is detected
//on the folder or subfolder of your app.
"watch": false,
// env variables which will appear in your app
"env":
{
"NODE_ENV": "production"
}
},
{
// name your app will have in PM2
"name": "open311-worker",
// path of your app
"script": "worker.js",
// arguments given to your app when it is launched
"args": [],
// arguments given to node when it is launched
"node_args": [],
//run in cluster mode
//see http://pm2.keymetrics.io/docs/usage/cluster-mode/
"exec_mode": "cluster", //fork
//run as many instances as number of cpus
"instances": 2, //max
// fix multiple instance environment config sharing
// see https://github.com/lorenwest/node-config/issues/244
// see http://pm2.keymetrics.io/docs/usage/environment/#specific-environment-variables
"instance_var": "INSTANCE_ID",
//enables the watch feature, defaults to "false".
//if true, it will restart your app everytime a file change is detected
//on the folder or subfolder of your app.
"watch": false,
// env variables which will appear in your app
"env":
{
"NODE_ENV": "production"
}
}]
}
Morty Proxy This is a proxified and sanitized view of the page, visit original site.