forked from DebaucheryLibrarian/traxxx
Added Umami to pm2 ecosystem file.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// const config = require('config');
|
||||
const config = require('config');
|
||||
|
||||
module.exports = {
|
||||
apps: [
|
||||
@@ -14,5 +14,15 @@ module.exports = {
|
||||
NODE_ENV: 'production',
|
||||
},
|
||||
},
|
||||
...(config.analytics.enabled ? [{
|
||||
name: 'umami',
|
||||
script: 'npm start',
|
||||
cwd: process.env.UMAMI_DIR || '../umami',
|
||||
restart_delay: 3000,
|
||||
merge_logs: true,
|
||||
env: {
|
||||
NODE_ENV: 'production',
|
||||
},
|
||||
}] : []),
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user