Initial WhaleTown V2 backend
This commit is contained in:
23
ecosystem.config.js
Normal file
23
ecosystem.config.js
Normal file
@@ -0,0 +1,23 @@
|
||||
module.exports = {
|
||||
apps: [
|
||||
{
|
||||
name: 'whale-town-end-v2',
|
||||
script: 'dist/main.js',
|
||||
instances: 1,
|
||||
exec_mode: 'cluster',
|
||||
env: {
|
||||
NODE_ENV: 'production',
|
||||
PORT: 3000,
|
||||
},
|
||||
log_file: './logs/combined.log',
|
||||
out_file: './logs/out.log',
|
||||
error_file: './logs/error.log',
|
||||
log_date_format: 'YYYY-MM-DD HH:mm:ss Z',
|
||||
merge_logs: true,
|
||||
max_memory_restart: '1G',
|
||||
restart_delay: 4000,
|
||||
watch: false,
|
||||
ignore_watch: ['node_modules', 'logs', 'generated'],
|
||||
},
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user