summaryrefslogtreecommitdiff
path: root/ecosystem.config.js
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-09-12 10:23:05 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-09-12 10:23:05 +0700
commit4adc8375819bc84e71cd956f262160f4d0079431 (patch)
treee59ba8495eed3784ae98215df685c3abdaee00e5 /ecosystem.config.js
parent916973828a2088cf6d5d867ec7a9aefe9f95bf0d (diff)
parent7d15ef7638777910f47298b7132f1f021031451a (diff)
Merge branch 'master' into development
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'
+ }
+ }
+ ]
+}