aboutsummaryrefslogtreecommitdiff
path: root/ecosystem.config.js
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-11-07 10:43:26 -0500
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-11-07 10:43:26 -0500
commit28da3231e9a2d6060276ffbe80de506c4ba388ff (patch)
treeac62ef57f7f3b0edebdc337534cc432f68cd0129 /ecosystem.config.js
parent4e97002a5702f8128e8c0763bd7b762ccd5806da (diff)
downloadtanzanite-28da3231e9a2d6060276ffbe80de506c4ba388ff.tar.gz
tanzanite-28da3231e9a2d6060276ffbe80de506c4ba388ff.tar.bz2
tanzanite-28da3231e9a2d6060276ffbe80de506c4ba388ff.zip
aaaaaaaaaaaaaaa
Diffstat (limited to 'ecosystem.config.js')
-rw-r--r--ecosystem.config.js51
1 files changed, 0 insertions, 51 deletions
diff --git a/ecosystem.config.js b/ecosystem.config.js
deleted file mode 100644
index cbcfc92..0000000
--- a/ecosystem.config.js
+++ /dev/null
@@ -1,51 +0,0 @@
-module.exports = {
- apps: [
- {
- name: 'bush-bot',
- script: 'yarn',
- args: 'node --trace-warnings dist/src/bot.js',
- out_file: '../bushbot.log',
- error_file: '../bushbot.log',
- max_memory_restart: '1G',
- node_args: ['--max_old_space_size=2048'],
- env: {
- FORCE_COLOR: '3'
- },
- exp_backoff_restart_delay: 2500,
- wait_ready: true
- },
- {
- name: 'bush-bot-beta',
- script: 'yarn',
- args: 'node --trace-warnings dist/src/bot.js',
- out_file: '../bushbot-beta.log',
- error_file: '../bushbot-beta.log',
- max_memory_restart: '1G',
- node_args: ['--max_old_space_size=2048'],
- env: {
- FORCE_COLOR: '3'
- },
- exp_backoff_restart_delay: 2500,
- wait_ready: true
- }
- ],
-
- deploy: {
- production: {
- 'user': 'pi',
- 'host': '192.168.1.210',
- 'ref': 'origin/master',
- 'repo': 'https://github.com/NotEnoughUpdates/bush-bot.git',
- 'path': '/code/bush-bot',
- 'post-deploy': 'yarn install && yarn build:tsc && pm2 start ecosystem.config.js --only bush-bot'
- },
- beta: {
- 'user': 'pi',
- 'host': '192.168.1.210',
- 'ref': 'origin/beta',
- 'repo': 'https://github.com/NotEnoughUpdates/bush-bot.git',
- 'path': '/code/bush-bot-beta',
- 'post-deploy': 'yarn install && yarn build:tsc && pm2 start ecosystem.config.js --only bush-bot-beta'
- }
- }
-};