This commit is contained in:
18
server-node/ecosystem.config.cjs
Normal file
18
server-node/ecosystem.config.cjs
Normal file
@@ -0,0 +1,18 @@
|
||||
module.exports = {
|
||||
apps: [
|
||||
{
|
||||
name: 'genarrative-server',
|
||||
script: 'dist/server.js',
|
||||
cwd: __dirname,
|
||||
instances: 1,
|
||||
exec_mode: 'fork',
|
||||
watch: false,
|
||||
env: {
|
||||
NODE_ENV: 'production',
|
||||
},
|
||||
error_file: 'logs/error.log',
|
||||
out_file: 'logs/out.log',
|
||||
time: true,
|
||||
},
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user