Initial commit - Warme catering website
This commit is contained in:
28
ecosystem.config.js
Normal file
28
ecosystem.config.js
Normal file
@@ -0,0 +1,28 @@
|
||||
module.exports = {
|
||||
apps: [
|
||||
{
|
||||
name: 'warme',
|
||||
script: 'server.mjs',
|
||||
instances: 1,
|
||||
exec_mode: 'cluster',
|
||||
env: {
|
||||
NODE_ENV: 'production',
|
||||
PORT: 3000
|
||||
},
|
||||
env_development: {
|
||||
NODE_ENV: 'development',
|
||||
PORT: 3000
|
||||
},
|
||||
node_args: [
|
||||
'--no-deprecation',
|
||||
'--experimental-fetch'
|
||||
],
|
||||
error_file: 'logs/err.log',
|
||||
out_file: 'logs/out.log',
|
||||
time: true,
|
||||
wait_ready: true,
|
||||
listen_timeout: 10000,
|
||||
kill_timeout: 5000
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user