Spaces:
Runtime error
Runtime error
Create ecosystem.config.js
Browse files- ecosystem.config.js +14 -0
ecosystem.config.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
module.exports = {
|
| 2 |
+
apps: [{
|
| 3 |
+
name: 'bot-panel',
|
| 4 |
+
script: 'server.js',
|
| 5 |
+
instances: 1,
|
| 6 |
+
autorestart: true,
|
| 7 |
+
watch: false,
|
| 8 |
+
max_memory_restart: '500M',
|
| 9 |
+
env: {
|
| 10 |
+
NODE_ENV: 'production',
|
| 11 |
+
PORT: 7860
|
| 12 |
+
}
|
| 13 |
+
}]
|
| 14 |
+
};
|