forked from GetStream/Winds
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprocess_dev.json
44 lines (44 loc) · 1.38 KB
/
process_dev.json
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
{
"apps" : [
{
"name" : "app",
"script" : "app.js",
"watch" : true,
"log_date_format" : "YYYY-MM-DD HH:mm Z",
"env" : {
"NODE_ENV": "development",
"PORT": 1337,
}
},
{
"name" : "feeds",
"script" : "scrape_feeds.js",
"args" : "-l",
"watch" : true,
"log_date_format" : "YYYY-MM-DD HH:mm Z",
"autorestart" : true,
"max_restarts" : 1,
"instances" : 1,
"cron_restart" : "*/10 * * * *",
},
{
"name" : "favicons",
"script" : "scrape_favicons.js",
"args" : "-l",
"watch" : true,
"log_date_format" : "YYYY-MM-DD HH:mm Z",
"autorestart" : true,
"max_restarts" : 1,
"instances" : 1,
"cron_restart" : "*/10 * * * *",
},
{
"name" : "worker",
"script" : "worker.js",
"watch" : true,
"log_date_format" : "YYYY-MM-DD HH:mm Z",
"instances" : "1",
"exec_mode" : "cluster"
}
]
}