forked from minershaven/EquihashNompPool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpm2.json
40 lines (38 loc) · 1.3 KB
/
pm2.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
{
"apps": [{
"name" : "PoolServer.old",
"exec_interpreter" : "node",
"exec_interpreter" : "/home/doug/.nvm/versions/node/v16.15.0/bin/node",
"exec_mode" : "fork",
"stop_exit_codes" : [0],
"autorestart" : true,
"max_memory_restart" : "7G",
"script" : "./init.js",
"node_args" : " --huge-max-old-generation-size --max_old_space_size=8192 ",
"args" : "",
"cron_restart" : "40 1/8 * * *",
"watch" : false,
"ignore_watch" : [".git/*", "logs/*"],
"watch_options" : {
"followSymlinks": false
},
"env": {
"NODE_ENV" : "development",
"PORT" : "8085"
},
"env_production": {
"NODE_ENV" : "production",
"PORT" : "8085"
}
}],
deploy : {
production : {
"user" : "doug",
"host" : ["192.168.2.226"],
"ref" : "origin/master",
"repo" : "git@https://github.com/49handyman/EquihashNompPool.git",
"path" : "/home/doug/testserver",
"post-deploy" : "npm install"
}
}
}