aboutsummaryrefslogtreecommitdiffstats
path: root/ecosystem.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'ecosystem.config.js')
-rw-r--r--ecosystem.config.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/ecosystem.config.js b/ecosystem.config.js
new file mode 100644
index 00000000..befa13a9
--- /dev/null
+++ b/ecosystem.config.js
@@ -0,0 +1,17 @@
+module.exports = {
+ apps: [
+ {
+ name: 'coinos',
+ script: 'app.js',
+ exec_interpreter: './node_modules/.bin/babel-node',
+ exec_mode: 'fork',
+ watch: ['*.js'],
+ env: {
+ COMMON_VARIABLE: 'true'
+ },
+ env_production: {
+ NODE_ENV: 'production'
+ }
+ },
+ ]
+}