summaryrefslogtreecommitdiff
path: root/ecosystem.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'ecosystem.config.js')
-rw-r--r--ecosystem.config.js19
1 files changed, 19 insertions, 0 deletions
diff --git a/ecosystem.config.js b/ecosystem.config.js
new file mode 100644
index 00000000..0429088a
--- /dev/null
+++ b/ecosystem.config.js
@@ -0,0 +1,19 @@
+module.exports = {
+ apps: [
+ {
+ name: 'next-indoteknik',
+ script: 'npm',
+ args: 'start',
+ instances: 'max',
+ autorestart: true,
+ watch: false,
+ max_memory_restart: '1G',
+ env: {
+ NODE_ENV: 'development'
+ },
+ env_production: {
+ NODE_ENV: 'production'
+ }
+ }
+ ]
+}