diff options
author | Gianni Ceccarelli <gianni.ceccarelli@broadbean.com> | 2018-02-21 15:28:56 +0000 |
---|---|---|
committer | Gianni Ceccarelli <gianni.ceccarelli@broadbean.com> | 2018-02-21 15:28:56 +0000 |
commit | dc5d27234eddb4065fe29a9cebafd2aa145ad43b (patch) | |
tree | 2b429f215bdcd259448f492556eebf2389a11bcd /color.json | |
parent | add pm2 (diff) | |
download | color-dc5d27234eddb4065fe29a9cebafd2aa145ad43b.tar.gz color-dc5d27234eddb4065fe29a9cebafd2aa145ad43b.tar.bz2 color-dc5d27234eddb4065fe29a9cebafd2aa145ad43b.zip |
pm2 pieces
Diffstat (limited to 'color.json')
-rw-r--r-- | color.json | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/color.json b/color.json new file mode 100644 index 0000000..7106248 --- /dev/null +++ b/color.json @@ -0,0 +1,17 @@ +{ + "apps": [{ + "name": "color", + "script": "./index.js", + "exec_mode": "cluster", + "instances": 2, + "merge_logs": true, + "env": { + "watch": true, + "NODE_ENV": "development" + }, + "env_production" : { + "watch": false, + "NODE_ENV": "production" + } + }] +} |