Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Vilsafur/mbs
Browse files Browse the repository at this point in the history
  • Loading branch information
Vilsafur committed Jan 7, 2020
2 parents 5d03554 + b55062c commit 0c73180
Show file tree
Hide file tree
Showing 6 changed files with 1,198 additions and 95 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ cache:
npm: true
before_install:
- npm install -g typescript@3.5.3
- npm prune
install:
- npm install
script:
Expand Down
19 changes: 19 additions & 0 deletions ecosystem.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
module.exports = {
apps : [{
name: 'MBS',
script: 'dist/index.js',

// Options reference: https://pm2.keymetrics.io/docs/usage/application-declaration/
instances: 2,
autorestart: true,
watch: false,
max_memory_restart: '1G',
exec_mode : "cluster",
env: {
NODE_ENV: 'development'
},
env_production: {
NODE_ENV: 'production'
}
}]
};

0 comments on commit 0c73180

Please sign in to comment.