-
Notifications
You must be signed in to change notification settings - Fork 0
/
ecosystem.json
30 lines (30 loc) · 946 Bytes
/
ecosystem.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
"apps": [
{
"name": "react-rematch-ssr",
"script": "./server/index.js",
"env": {
"COMMON_VARIABLE": true
},
"env_production": {
"NODE_ENV": "production",
"PORT": 5000
}
}
],
"deploy": {
"production": {
"user": "kim",
"host": ["47.106.94.19"],
"port": "22",
"ref": "origin/master",
"repo": "git@github.com:Kim09AI/react-rematch-ssr.git",
"path": "/www/react-rematch-ssr/production",
"ssh_options": "StrictHostKeyChecking=no",
"post-deploy": "yarn install --prod false && npm run clear && npm run build:client && PORT=5000 npm run build:server && pm2 startOrRestart ecosystem.json --env production",
"env": {
"NODE_ENV": "production"
}
}
}
}