hf4all commited on
Commit
a9ef9b5
·
1 Parent(s): 1bbb31b

Create ecosystem.config.js

Browse files
Files changed (1) hide show
  1. ecosystem.config.js +25 -0
ecosystem.config.js ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const path = require('path')
2
+
3
+ module.exports = {
4
+ apps : [
5
+ {
6
+ name: 'bingo',
7
+ script: 'npm',
8
+ args: 'start',
9
+ cwd: path.join(__dirname, 'bingo'),
10
+ env: {
11
+ DEBUG: 'bingo*',
12
+ PORT: process.env.PORT
13
+ }
14
+ },
15
+ {
16
+ name: 'ui',
17
+ script: 'python',
18
+ args: './src/flaresolverr.py',
19
+ env: {
20
+ PORT: 8181,
21
+ },
22
+ cwd: path.join(__dirname, 'FlareSolverr')
23
+ }
24
+ ],
25
+ };