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.cjs --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.cjs --only bush-bot-beta' } } };