Skip to content

Commit

Permalink
ar(feat) [DPTM-8] Dockerize and GCP
Browse files Browse the repository at this point in the history
  • Loading branch information
angeloreale committed Aug 24, 2024
1 parent aee4ce3 commit 83b979a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"build:vm": "npm run schema:generate:all:standalone && next build",
"start": "next start",
"start:pm2": "pm2 list && pm2-docker start pm2.json",
"start:vm": "HOSTNAME=0.0.0.0 node server.js",
"start:vm": "HOSTNAME='0.0.0.0' node server.js",
"start:vm:pm2": "pm2 list && pm2-docker start pm2-vm.json",
"lint": "next lint",
"format": "next lint && prettier --check --ignore-path .gitignore --ignore-path .prettierignore .",
Expand Down
4 changes: 2 additions & 2 deletions pm2-vm.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"apps": [
{
"name": "hypnos",
"script": "npm run start:vm",
"args": "",
"script": "./server.js",
"args": "start",
"instances": "3",
"exec_mode": "cluster"
}
Expand Down

0 comments on commit 83b979a

Please sign in to comment.