feat: add backend-mock app

This commit is contained in:
vben
2024-06-30 14:09:44 +08:00
parent c58aa26dbf
commit ca1cad0cd3
71 changed files with 3420 additions and 735 deletions

View File

@@ -0,0 +1,23 @@
module.exports = {
apps: [
{
autorestart: true,
cwd: './',
env: {
NODE_ENV: 'production',
},
env_development: {
NODE_ENV: 'development',
},
env_production: {
NODE_ENV: 'production',
},
ignore_watch: ['node_modules', '.logs', 'dist'],
instances: 1,
max_memory_restart: '1G',
name: '@vben/backend-mock',
script: 'node dist/main.js',
watch: false,
},
],
};