-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathprocess.yml
More file actions
33 lines (31 loc) · 893 Bytes
/
Copy pathprocess.yml
File metadata and controls
33 lines (31 loc) · 893 Bytes
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
# http://pm2.keymetrics.io/docs/usage/application-declaration/
apps:
-
name : api
cwd : .
script : ./services/example-api/app.js
watch : true
ignore_watch : [node_modules, .git, logs, tmp]
instances : 1
exec_mode : cluster
out_file : ./logs/example-api.log
error_file : ./logs/example-api.error.log
combine_logs : true
env :
NODE_ENV : development
NODE_CONFIG_DIR : ./config/env
NODE_CONFIG_STRICT_MODE : 0
-
name : engine
script : ./services/example-engine/app.js
watch : true
ignore_watch : [node_modules, .git, logs, tmp]
instances : 1
exec_mode : cluster
out_file : ./logs/example-engine.log
error_file : ./logs/example-engine.error.log
combine_logs : true
env :
NODE_ENV : development
NODE_CONFIG_DIR : ./config/env
NODE_CONFIG_STRICT_MODE : 0