Browse Source

add ecosystem

master
Amirul Anwar 2 weeks ago
parent
commit
e99ac5cc0d
1 changed files with 4 additions and 3 deletions
  1. 4
    3
      ecosystem.config.js

+ 4
- 3
ecosystem.config.js View File

@@ -1,17 +1,18 @@
1 1
 module.exports = {
2 2
   apps: [
3 3
     {
4
-      name: 'amber-app',
4
+      name: 'amber-prod',
5 5
       script: 'npm',
6 6
       args: 'start',
7 7
       env: {
8
-        NODE_ENV: 'development',
8
+        NODE_ENV: 'production',
9 9
         REACT_APP_API_URL: process.env.REACT_APP_API_URL,
10 10
         REACT_APP_API_KEY: process.env.REACT_APP_API_KEY,
11 11
         REACT_APP_API_SECRET: process.env.REACT_APP_API_SECRET,
12 12
         REACT_APP_ACCESS_TOKEN: process.env.REACT_APP_ACCESS_TOKEN,
13 13
         REACT_APP_SHOP_NAME: process.env.REACT_APP_SHOP_NAME,
14
+	REACT_APP_PORT: process.env.PORT,
14 15
       },
15 16
     },
16 17
   ],
17
-};
18
+};

Loading…
Cancel
Save