mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-01-24 02:00:25 +08:00
19 lines
370 B
JavaScript
19 lines
370 B
JavaScript
const { name } = require('./package.json');
|
|
const path = require('path');
|
|
|
|
module.exports = {
|
|
apps: [
|
|
{
|
|
name,
|
|
script: path.resolve(__dirname, './dist/index.js'),
|
|
instances: require('os').cpus().length,
|
|
autorestart: true,
|
|
watch: true,
|
|
env_production: {
|
|
NODE_ENV: 'production',
|
|
PORT: 8080,
|
|
},
|
|
},
|
|
],
|
|
};
|