update: CI-scripts
Some checks failed
CI / verify (push) Has been cancelled

This commit is contained in:
small268
2026-04-17 00:30:04 +08:00
parent 09d4c0c31b
commit 82aef85d52
3 changed files with 165 additions and 0 deletions

View 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,
},
],
};