mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-25 16:16:20 +08:00
feat: add backend-mock app
This commit is contained in:
23
apps/backend-mock/ecosystem.config.cjs
Normal file
23
apps/backend-mock/ecosystem.config.cjs
Normal 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,
|
||||
},
|
||||
],
|
||||
};
|
Reference in New Issue
Block a user