Skip to content

Commit

Permalink
fix(pm2): change name without spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
lambiengcode committed Apr 21, 2024
1 parent d5474a7 commit a5eb759
Showing 1 changed file with 17 additions and 18 deletions.
35 changes: 17 additions & 18 deletions ecosystem.config.js
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
module.exports = {
apps: [
{
name: "Waterbus Server API",
script: "dist/main.js",
instances: "max", // can set is "max" for using max of processors
autorestart: true,
watch: false,
max_memory_restart: "2G",
exec_mode: "cluster",
env: {
NODE_ENV: "production",
},
error_file: "logs/error.log",
out_file: "logs/out.log",
log_date_format: "YYYY-MM-DD HH:mm:ss",
apps: [
{
name: 'waterbus.server.api',
script: 'dist/main.js',
instances: 'max', // can set is "max" for using max of processors
autorestart: true,
watch: false,
max_memory_restart: '2G',
exec_mode: 'cluster',
env: {
NODE_ENV: 'production',
},
],
};

error_file: 'logs/error.log',
out_file: 'logs/out.log',
log_date_format: 'YYYY-MM-DD HH:mm:ss',
},
],
};

0 comments on commit a5eb759

Please sign in to comment.