Commit d49f99e2 by Arjun Jhukal

updated the firekirin new deployment pipeline

parent af2d9222
...@@ -2,9 +2,10 @@ module.exports = { ...@@ -2,9 +2,10 @@ module.exports = {
apps: [{ apps: [{
name: 'getFirekirin', name: 'getFirekirin',
script: 'node_modules/next/dist/bin/next', script: 'node_modules/next/dist/bin/next',
args: 'start -p 3000', args: 'start',
cwd: '/var/www/getFirekirin', cwd: '/home/1522942.cloudwaysapps.com/swsjapwyjk',
instances: 1, instances: 1,
exec_mode: 'cluster',
autorestart: true, autorestart: true,
watch: false, watch: false,
max_memory_restart: '1G', max_memory_restart: '1G',
...@@ -12,8 +13,11 @@ module.exports = { ...@@ -12,8 +13,11 @@ module.exports = {
NODE_ENV: 'production', NODE_ENV: 'production',
PORT: 3000 PORT: 3000
}, },
error_file: '/var/www/getFirekirin/logs/pm2-error.log', error_file: '/home/1522942.cloudwaysapps.com/swsjapwyjk/logs/pm2-error.log',
out_file: '/var/www/getFirekirin/logs/pm2-out.log', out_file: '/home/1522942.cloudwaysapps.com/swsjapwyjk/logs/pm2-out.log',
log_date_format: 'YYYY-MM-DD HH:mm:ss Z' log_date_format: 'YYYY-MM-DD HH:mm:ss Z',
merge_logs: true,
max_restarts: 10,
min_uptime: '10s'
}] }]
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment