aboutsummaryrefslogtreecommitdiffstats
path: root/ecosystem.config.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2018-01-05 14:46:02 -0800
committerAdam Soltys <[email protected]>2018-01-05 14:46:02 -0800
commite73c5018549c338e1dd5be8c0d82e1765ee4741a (patch)
tree4572fafe7ace5e2509b24c180502013523caadba /ecosystem.config.js
parent802922d9e0981fbe0756ccf415354b15922b5070 (diff)
downloadcoinos-server-e73c5018549c338e1dd5be8c0d82e1765ee4741a.tar.gz
coinos-server-e73c5018549c338e1dd5be8c0d82e1765ee4741a.zip
fetch rates using bitcoinaverage rest client
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'
+ }
+ },
+ ]
+}