Spaces:
Running
Running
pm2 config
Browse files- ecosystem.config.js +14 -0
ecosystem.config.js
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
module.exports = {
|
2 |
+
apps: [
|
3 |
+
{
|
4 |
+
name: 'hf-dashboard-api',
|
5 |
+
script: '/home/spunion/Sn25/api.py',
|
6 |
+
interpreter: '/home/spunion/Sn25/venv/bin/python',
|
7 |
+
autorestart: true,
|
8 |
+
watch: false,
|
9 |
+
env: {
|
10 |
+
NODE_ENV: 'production',
|
11 |
+
},
|
12 |
+
},
|
13 |
+
],
|
14 |
+
};
|